diff --git a/.github/samples/main-push.yaml b/.github/samples/main-push.yaml index 7a5081e..7b5bee6 100644 --- a/.github/samples/main-push.yaml +++ b/.github/samples/main-push.yaml @@ -14,10 +14,10 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: npm @@ -48,7 +48,7 @@ jobs: args: '--coverage --coverageReporters=json,json-summary' - name: Archive Code Coverage Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: code-coverage-report path: ./coverage/**/coverage-summary.json diff --git a/.github/samples/pull-request.yaml b/.github/samples/pull-request.yaml index 827efd4..dd4cffa 100644 --- a/.github/samples/pull-request.yaml +++ b/.github/samples/pull-request.yaml @@ -12,7 +12,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -20,7 +20,7 @@ jobs: run: git fetch origin main - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: npm diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 3994fdc..a640866 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -21,12 +21,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set Node.js 12.x - uses: actions/setup-node@v3 + - name: Set Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: 12.x + node-version: 20.x - name: Install dependencies run: npm ci @@ -47,7 +47,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a73d738..7a2628c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: build: # make sure build/ci work properly runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | npm install - run: | @@ -19,13 +19,15 @@ jobs: test: # make sure the action works on a clean machine without building runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ with: github-token: ${{ secrets.GITHUB_TOKEN }} no-coverage-ran: false - coverage-folder: ./__tests__/data/coverage + coverage-folder: ./__tests__/data/coverage coverage-base-folder: ./__tests__/data/coverage-base gist-processing: true gist-token: ${{ secrets.COVERAGE_BADGE_GIST_TOKEN }} - gist-id: 14be704ddbfb786fbb50a292ee4d75f0 \ No newline at end of file + gist-id: 14be704ddbfb786fbb50a292ee4d75f0 + hide-coverage-reports: false + hide-unchanged: false