chore: add npm registry configuration to Bun settings
All checks were successful
Lint / lint (pull_request) Successful in 14s
All checks were successful
Lint / lint (pull_request) Successful in 14s
This commit is contained in:
@@ -65,6 +65,10 @@ jobs:
|
|||||||
- name: Configure npm registry auth
|
- name: Configure npm registry auth
|
||||||
run: |
|
run: |
|
||||||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
||||||
|
cat >> ~/.bunfig.toml << EOF
|
||||||
|
[install.scopes]
|
||||||
|
"@0kmpo" = { registry = "https://registry.npmjs.org", token = "${NODE_AUTH_TOKEN}" }
|
||||||
|
EOF
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user