Skip to content

Commit 2ce7597

Browse files
authored
Update npm-publish-github-packages.yml
1 parent 8ff6085 commit 2ce7597

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,8 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
16-
with:
17-
node-version: 16
18-
- run: npm ci
19-
- run: npm test
2011

2112
publish-gpr:
22-
needs: build
2313
runs-on: ubuntu-latest
2414
permissions:
2515
contents: read
@@ -30,7 +20,7 @@ jobs:
3020
with:
3121
node-version: 16
3222
registry-url: https://npm.pkg.github.com/
33-
- run: npm ci
23+
- run: npm install
3424
- run: npm publish
3525
env:
3626
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)