diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 066f3d0..8f0eb26 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,12 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 with: lfs: true ref: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref || '' }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v2 with: node-version: 14 - run: git config --global user.email "actions@github.com" @@ -38,19 +38,17 @@ jobs: needs: cancel-existing runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 with: fetch-depth: 0 lfs: true - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - run: yarn --frozen-lockfile - - env: - TEST_GITHUB_API_TOKEN: ${{ secrets.TEST_GITHUB_API_TOKEN }} - run: yarn test + - run: yarn test - if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: Image Snapshot Diffs path: "**/__image_snapshots__/__diff_output__" @@ -61,15 +59,18 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} strategy: matrix: - include: + exclude: + - node: 12 + os: macos-latest - node: 12 - os: ubuntu-latest - - node: 14 - os: ubuntu-latest - - os: macos-latest - version: 14 - - os: windows-latest - version: 14 + os: windows-latest + node: + - 12 + - 14 + os: + - macos-latest + - windows-latest + - ubuntu-latest name: build on: pull_request: {} diff --git a/.github/workflows/deprecated-dependencies.yml b/.github/workflows/deprecated-dependencies.yml index a01b6bf..0567edc 100644 --- a/.github/workflows/deprecated-dependencies.yml +++ b/.github/workflows/deprecated-dependencies.yml @@ -2,7 +2,7 @@ jobs: run: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 with: lfs: true - continue-on-error: true @@ -20,11 +20,10 @@ jobs: update_existing: true - if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated && steps.create-deprecation-issue.outputs.number }} - uses: peter-evans/close-issue@v2 + uses: peter-evans/close-issue@v1 with: comment: Auto-closing the issue issue-number: ${{ steps.create-deprecation-issue.outputs.number }} - - uses: gautamkrishnar/keepalive-workflow@v1 name: deprecated-dependencies on: schedule: diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 18db961..2e9eb17 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -2,7 +2,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} uses: micnncim/action-label-syncer@v1 diff --git a/.github/workflows/sync-metadata.yml b/.github/workflows/sync-metadata.yml index eeae2b0..30ff4e6 100644 --- a/.github/workflows/sync-metadata.yml +++ b/.github/workflows/sync-metadata.yml @@ -2,13 +2,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - uses: jaid/action-sync-node-meta@v2.0.0 with: approve: false commitMessage: "fix: write GitHub metadata to package.json [{changes}]" githubToken: ${{ secrets.GITHUB_TOKEN }} - - uses: gautamkrishnar/keepalive-workflow@v1 name: sync-metadata on: schedule: