Skip to content

Commit

Permalink
fix(ci): use npmrc to provide desired registry
Browse files Browse the repository at this point in the history
Co-Authored-By: Florian Wendelborn <[email protected]>
  • Loading branch information
Isokaeder and FlorianWendelborn committed May 14, 2024
1 parent 7acaadf commit d0736d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
# make extra sure this publish wouldn’t break anything
- run: yarn run build check test

- run: cp internals/scripts/source/npmrc-template ./.npmrc

- name: publish
run: bun internals/scripts/source/publish.ts
env:
Expand Down
1 change: 1 addition & 0 deletions internals/scripts/source/npmrc-template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}

0 comments on commit d0736d5

Please sign in to comment.