Skip to content

Commit e57f5b4

Browse files
committed
Update npm-publish.yml
1 parent c624773 commit e57f5b4

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,7 @@ jobs:
2121
- run: npm ci
2222
- run: npm run build
2323

24-
publish-gpr:
25-
needs: build
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v6
29-
- uses: actions/setup-node@v6
30-
with:
31-
node-version: 24
32-
registry-url: https://npm.pkg.github.com/
33-
- run: npm ci
34-
- run: npm publish
35-
env:
36-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
37-
38-
publish-npmjs:
24+
publish:
3925
needs: build
4026
runs-on: ubuntu-latest
4127
steps:
@@ -52,4 +38,4 @@ jobs:
5238
run: npm version --no-git-tag-version ${{ steps.version.outputs.VERSION }}
5339
- run: npm publish
5440
env:
55-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
41+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)