Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luluhoc committed May 9, 2024
1 parent 376f5cf commit 5daa295
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
name: Node.js Package

on:
workflow_dispatch:
# release:
# types: [created]
# workflow_dispatch:
release:
types: [created]

jobs:
build:
Expand All @@ -29,6 +29,6 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm publish --ignore-prepublish
- run: npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 5daa295

Please sign in to comment.