Skip to content

Commit

Permalink
build(ci): ensure npm publish job uses latest Node (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Jun 27, 2024
1 parent 891e097 commit 6174717
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm publish --access public
env:
Expand Down

0 comments on commit 6174717

Please sign in to comment.