Skip to content

Commit

Permalink
Update npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
long-woo committed Jul 22, 2023
1 parent 5f50223 commit ffdc06c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Publish Package to npmjs

on:
release:
types: [released]
push:
branches: ['dev']
# release:
# types: [released]

permissions:
contents: read
# permissions:
# contents: read

jobs:
build:
Expand All @@ -30,8 +32,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: |
cd npm_dist
pwd
npm ci
npm publish
# npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ffdc06c

Please sign in to comment.