Skip to content

Commit aa46624

Browse files
committed
Fix npm publish
1 parent b0a632d commit aa46624

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v2
1616
with:
1717
node-version: 14
18-
- run: npm ci
19-
- run: npm test
18+
- run: yarn install --frozen-lockfile # Runs also lint and test
2019

2120
publish-npm:
2221
needs: build
@@ -27,7 +26,7 @@ jobs:
2726
with:
2827
node-version: 14
2928
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
29+
- run: yarn install --frozen-lockfile # Runs also lint and test
3130
- run: npm publish
3231
env:
3332
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)