Skip to content

Commit 4bf7494

Browse files
authored
Update npmpublish.yml
1 parent 7f81705 commit 4bf7494

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npmpublish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: 12
15-
- run: npm ci
16-
- run: npm test
15+
- run: yarn install --frozen-lockfile
16+
- run: yarn run test
1717

1818
publish-npm:
1919
needs: build
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: 12
2626
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
28-
- run: npm publish
27+
- run: yarn install --frozen-lockfile
28+
- run: yarn publish
2929
env:
3030
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)