Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luluhoc authored May 9, 2024
1 parent 5daa295 commit a21c30e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm i -g cross-env
- run: yarn install
- run: yarn build
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm publish --ignore-scripts
env:
Expand Down

0 comments on commit a21c30e

Please sign in to comment.