Skip to content

Commit

Permalink
[chore] switch back to npmjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ash committed Aug 27, 2024
1 parent c9aa919 commit 5c59afc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
Expand All @@ -54,4 +54,4 @@ jobs:
- name: Publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@ai-stack:registry=https://npm.pkg.github.com
@ai-stack:registry=https://registry.npmjs.org
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}
},
"main": "./dist/index.js",
"@ai-stack:registry": "https://npm.pkg.github.com",
"@ai-stack:registry": "https://registry.npmjs.org",
"types": "./dist/index.d.ts",
"access": "public"
}
Expand Down

0 comments on commit 5c59afc

Please sign in to comment.