Skip to content

Commit 4d6c7c1

Browse files
authored
Update npm-publish.yml
1 parent ccb4194 commit 4d6c7c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/npm-publish.yml

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

2021
publish-npm:
2122
needs: build
@@ -26,7 +27,7 @@ jobs:
2627
with:
2728
node-version: 16
2829
registry-url: https://registry.npmjs.org/
29-
- run: npm run build
30+
- run: yarn build
3031
- run: npm publish
3132
env:
3233
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

0 commit comments

Comments
 (0)