Skip to content

Commit a243fba

Browse files
committed
Remove the publish.yml workflow and integrate publishing steps into release.yml for streamlined GitHub Packages deployment.
1 parent c7e77ad commit a243fba

2 files changed

Lines changed: 6 additions & 34 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: actions/setup-node@v4
3131
with:
3232
node-version: 22
33+
registry-url: https://npm.pkg.github.com
3334

3435
- name: Install dependencies
3536
run: npm install
@@ -61,3 +62,8 @@ jobs:
6162
tag_name: ${{ steps.tag.outputs.name }}
6263
generate_release_notes: true
6364

65+
- name: Publish to GitHub Packages
66+
run: npm publish
67+
env:
68+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+

0 commit comments

Comments
 (0)