mirror of
https://github.com/Heretek-AI/openclaw-liberation.git
synced 2026-07-01 18:27:07 -04:00
Publish to public npm registry
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user