Skip to content

Commit

Permalink
Bump node versions in CI matrix; bump actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Jan 25, 2024
1 parent b932d83 commit 0cdb006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
os:
- ubuntu-latest
node:
- 20.x
- 18.x
- 16.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2-beta
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
Expand All @@ -32,7 +32,7 @@ jobs:
env:
NPM_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: npm info
- if: matrix.node == '18.x' && startsWith(github.ref, 'refs/tags')
- if: matrix.node == '20.x' && startsWith(github.ref, 'refs/tags')
run: npm publish
- if: startsWith(github.ref, 'refs/heads')
run: npm publish --dry-run

0 comments on commit 0cdb006

Please sign in to comment.