Skip to content

Commit 7b31591

Browse files
authored
Update npm-publish.yml
1 parent 36cdec6 commit 7b31591

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v2
1616
with:
1717
node-version: 12
18-
- run: npm ci
18+
- run: npm install
1919
- run: npm test
2020

2121
publish-npm:
@@ -27,24 +27,7 @@ jobs:
2727
with:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
31-
- run: npm publish
32-
env:
33-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
34-
35-
publish-gpr:
36-
needs: build
37-
runs-on: ubuntu-latest
38-
permissions:
39-
contents: read
40-
packages: write
41-
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-node@v2
44-
with:
45-
node-version: 12
46-
registry-url: https://npm.pkg.github.com/
47-
- run: npm ci
30+
- run: npm install
4831
- run: npm publish
4932
env:
5033
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)