Skip to content

Commit

Permalink
feat: add publish key
Browse files Browse the repository at this point in the history
  • Loading branch information
eyea committed Nov 10, 2023
1 parent 48131d1 commit 8d55058
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org
scope: '@afuteam'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.AFUTEAM_LINT_PUBLISH_NPM_TOKEN}}
6 changes: 5 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# registry=https://registry.npmjs.org/
# @eyea:registry=https://npm.pkg.github.com

//registry.npmjs.org/:_authToken=${AFUTEAM_LINT_PUBLISH_NPM_TOKEN}
registry=https://registry.npmjs.org/
@eyea:registry=https://npm.pkg.github.com
always-auth=true

0 comments on commit 8d55058

Please sign in to comment.