Skip to content

Commit

Permalink
Bump .github/workflows/npm_publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelometal committed Jan 4, 2023
1 parent 0ccb773 commit 36b43fd
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 @@ -2,18 +2,18 @@ name: Publish NPM package

on:
release:
types: [prereleased, published]
types: [created]

jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1.1.0
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.x'
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm publish --access public
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 36b43fd

Please sign in to comment.