Skip to content

Commit f1ee277

Browse files
authored
Simplify publish workflow by removing duplicate job
Removed redundant publish job from GitHub Actions workflow.
1 parent 49c1568 commit f1ee277

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3-
41
name: Node.js Package
52

63
on:
@@ -43,23 +40,3 @@ jobs:
4340
- run: npm run build --if-present
4441
- run: npm test
4542
- run: npm publish
46-
47-
publish-gh-pkgs:
48-
needs: build
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v5
52-
with:
53-
submodules: 'true'
54-
- uses: actions/setup-node@v6
55-
with:
56-
node-version: 20
57-
registry-url: 'https://npm.pkg.github.com'
58-
- name: Update npm
59-
run: npm install -g npm@latest
60-
- run: npm install
61-
- run: npm run build --if-present
62-
- run: npm test
63-
- run: npm publish
64-
env:
65-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)