Skip to content

Commit

Permalink
Update npm publish workflow for Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
lkhrs committed Aug 12, 2024
1 parent bc8e55d commit 01cca4a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ name: NPM Publish
on:
release:
types: [created]
workflow-dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm publish --access public
Expand Down

0 comments on commit 01cca4a

Please sign in to comment.