Skip to content

Commit f5ba3e6

Browse files
committed
fix: npm publish file fixed to work with yarn
1 parent 96141aa commit f5ba3e6

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@v1
1616
with:
1717
node-version: 12
18-
- run: npm ci
19-
- run: npm test
18+
- run: yarn install
19+
- run: yarn test
2020

2121
publish-npm:
2222
needs: build
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
30+
- run: yarn install
3131
- run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
node-version: 12
4343
registry-url: https://npm.pkg.github.com/
44-
- run: npm ci
44+
- run: yarn install
4545
- run: npm publish
4646
env:
4747
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)