Skip to content

Commit ca14915

Browse files
committed
Update publish workflow
1 parent 7513398 commit ca14915

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3-
41
name: Publish to npm
52

63
on:
@@ -16,10 +13,10 @@ jobs:
1613
- uses: actions/setup-node@v1
1714
with:
1815
node-version: 14
19-
registry-url: https://registry.npmjs.org/
16+
registry-url: https://registry.npmjs.org
2017
- run: npm add -g pnpm
2118
- run: pnpm i
2219
- run: pnpm t
2320
- run: npm publish
2421
env:
25-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)