Skip to content

Commit

Permalink
chore: update action file
Browse files Browse the repository at this point in the history
  • Loading branch information
dukeluo committed Jan 31, 2025
1 parent 99ecfdf commit b98e267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Node.js Package

on:
workflow_dispatch:
release:
types: [created]

Expand All @@ -27,6 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
Expand Down

0 comments on commit b98e267

Please sign in to comment.