Skip to content

Commit 64bae7d

Browse files
authored
Update npm-publish.yml
Switch to yarn
1 parent a1f3f9e commit 64bae7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

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

2121
publish-npm:
2222
needs: build
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
31-
- run: npm publish
30+
- run: yarn
31+
- run: yarn publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)