Skip to content

Commit

Permalink
chore: replace node.js 14 and 20 in ci matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Aug 28, 2023
1 parent c14b18c commit 78c35df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [14, 16, 18]
node: [16, 18, 20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -39,10 +39,10 @@ jobs:
- name: Run Tests
run: yarn test
- name: Coverage
if: matrix.os == 'ubuntu-latest' && matrix.node == 14 # only run once
if: matrix.os == 'ubuntu-latest' && matrix.node == 16 # only run once
run: yarn test-coverage
- name: Maybe Release
if: matrix.os == 'ubuntu-latest' && matrix.node == 18 && github.event_name == 'push' && github.ref == 'refs/heads/main'
if: matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
Expand Down

0 comments on commit 78c35df

Please sign in to comment.