Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publish to npm and GitHub Packages

name: Publish to npm
on:
release:
types: [created]
Expand Down Expand Up @@ -38,15 +38,15 @@ jobs:
# ----------------------------
# ✅ GitHub Packages Publish
# ----------------------------
- name: 📦 Configure .npmrc for GitHub Packages
run: |
echo "@interactive-video-labs:registry=https://npm.pkg.github.com/" > ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PUBLISH_PAT }}" >> ~/.npmrc

- name: 🚀 Publish to GitHub Packages
run: pnpm publish --no-git-checks --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_PAT }}
# - name: 📦 Configure .npmrc for GitHub Packages
# run: |
# echo "@interactive-video-labs:registry=https://npm.pkg.github.com/" > ~/.npmrc
# echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PUBLISH_PAT }}" >> ~/.npmrc

# - name: 🚀 Publish to GitHub Packages
# run: pnpm publish --no-git-checks --registry=https://npm.pkg.github.com/
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_PAT }}

# ----------------------------
# ✅ npmjs.com Publish
Expand Down