Skip to content

Commit

Permalink
Update .github/workflows/publish-to-npm.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiba1 committed Dec 7, 2024
1 parent 3847a12 commit 10daf1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Publish Package to npmjs
on:
release:
types: [created]
types: [published]
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: '16.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
Expand Down

0 comments on commit 10daf1b

Please sign in to comment.