Publish to public npm registry

This commit is contained in:
BillyOutlast
2026-03-25 21:28:21 -05:00
parent 46bb34b51b
commit 44cd120e97
+2 -4
View File
@@ -7,7 +7,6 @@ on:
permissions:
contents: write
packages: write
jobs:
build-and-publish:
@@ -27,7 +26,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'
- name: Install dependencies
@@ -85,7 +83,7 @@ jobs:
env:
NODE_PATH: ${{ github.workspace }}/node_modules
- name: Publish to GitHub Packages
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}