Skip to content

Commit

Permalink
fix: add npm access token
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ai committed Mar 7, 2024
1 parent 271e295 commit f4f6ac0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: .tool-versions
registry-url: https://registry.npmjs.org

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Setup bun
uses: oven-sh/setup-bun@v1
Expand Down

0 comments on commit f4f6ac0

Please sign in to comment.