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 ab2d2ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +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
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
Expand Down

0 comments on commit ab2d2ed

Please sign in to comment.