Skip to content

Commit add04d1

Browse files
committed
🔖 use yarn for publish action
1 parent 4330ff2 commit add04d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- uses: actions/setup-node@v1
1616
with:
1717
node-version: 16
18-
- run: npm install
19-
- run: npm run build
18+
- run: yarn
19+
- run: yarn run build
2020

2121
publish-npm:
2222
needs: build
@@ -27,9 +27,9 @@ jobs:
2727
with:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm install
31-
- run: npm run package
32-
- run: npm run publish
30+
- run: yarn
31+
- run: yarn run package
32+
- run: yarn run publish
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3535

0 commit comments

Comments
 (0)