Skip to content

Commit 4a8570e

Browse files
Update npm-publish.yml (#78)
1 parent 0bf242e commit 4a8570e

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
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v2
1919
with:
2020
node-version: 12
21-
- run: npm ci
21+
- run: npm i
2222

2323
publish-npm:
2424
needs: build
@@ -30,24 +30,7 @@ jobs:
3030
node-version: 12
3131
registry-url: https://registry.npmjs.org/
3232
scope: '@ngx-builders'
33-
- run: npm ci
33+
- run: npm i
3434
- run: npm publish
3535
env:
3636
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
37-
38-
publish-gpr:
39-
needs: build
40-
runs-on: ubuntu-latest
41-
permissions:
42-
contents: read
43-
packages: write
44-
steps:
45-
- uses: actions/checkout@v2
46-
- uses: actions/setup-node@v2
47-
with:
48-
node-version: 12
49-
registry-url: https://npm.pkg.github.com/
50-
- run: npm ci
51-
- run: npm publish
52-
env:
53-
NODE_AUTH_TOKEN: ${{secrets.GIT_PKG_TOKEN}}

0 commit comments

Comments
 (0)