diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d1457535..bb6d518d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,19 +9,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 - run: echo ${{github.ref}} - - run: curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7 - - run: pnpm config set store-dir ~/.pnpm-store - - run: pnpm install --strict-peer-dependencies=false - - run: yarn run test:coverage - env: - CI: true - PROGRESS: none - NODE_ENV: test - NODE_OPTIONS: --max_old_space_size=4096 - - run: bash <(curl -s https://codecov.io/bash) + - uses: oven-sh/setup-bun@v2 + - run: bun install + - run: bun run test:coverage + - uses: codecov/codecov-action@v5 diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 81c4c60a..92bd22df 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/biome.json b/biome.json index 9ee52b82..24487d51 100644 --- a/biome.json +++ b/biome.json @@ -3,8 +3,7 @@ "files": { "ignoreUnknown": true, "includes": [ - "**", - ".github/**", + "**/*", "!**/.umi/**", "**/*.md", "!**/.umi-production/**",