Skip to content

Commit a855e1f

Browse files
authored
Add node auth token and registry to release gha (#262)
* remove unnecessary * add PR open * update yml * remove evals for now * disable evals for now * add PR permission to yml * add auth token to github actions
1 parent 81391ff commit a855e1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: actions/setup-node@v3
2424
with:
2525
node-version: 20.x
26+
registry-url: "https://registry.npmjs.org"
2627

2728
- name: Install Dependencies
2829
run: npm install
@@ -42,6 +43,7 @@ jobs:
4243
- name: Publish Canary
4344
if: github.ref == 'refs/heads/main'
4445
run: |
46+
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
4547
git checkout main
4648
npm run release-canary
4749
env:

0 commit comments

Comments
 (0)