Skip to content

Commit

Permalink
node 18/20, not node 16/18
Browse files Browse the repository at this point in the history
  • Loading branch information
aronatkins committed Jun 21, 2024
1 parent 7151f20 commit 39bc77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-latest
node:
- 18.x
- 16.x
- 20.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
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 39bc77d

Please sign in to comment.