Skip to content

Commit e69fab9

Browse files
Copilotmaxkfranz
andauthored
Refactor: apply same npm publish reusable workflow to patch-release.yml
Agent-Logs-Url: https://github.com/cytoscape/cytoscape.js/sessions/e99ef7f2-80bf-4426-8f38-d39e526d12ba Co-authored-by: maxkfranz <[email protected]>
1 parent f2be7d8 commit e69fab9

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/patch-release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ jobs:
9595
with:
9696
name: npm-release--failure-report
9797
path: /home/runner/.npm/_logs/
98-
- name: Publish Package To npmjs
99-
run: npm publish
100-
env:
101-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10298
- name: Publish Package to GitHub Releases
10399
run: |
104100
curl -L \
@@ -113,3 +109,10 @@ jobs:
113109
uses: JamesIves/github-pages-deploy-action@v4
114110
with:
115111
folder: documentation
112+
113+
npm_publish:
114+
needs: patch-release
115+
permissions:
116+
contents: read
117+
id-token: write
118+
uses: ./.github/workflows/npm-publish.yml

0 commit comments

Comments
 (0)