Skip to content

Commit 59a81eb

Browse files
committed
wip authenticating to gpr
1 parent 656351d commit 59a81eb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
- name: Push CI Packages
5555
if: github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
5656
run: |
57-
npm config set "@exceptionless:registry" https://npm.pkg.github.com/exceptionless
58-
npm config set //npm.pkg.github.com/:_authToken ${{secrets.GITHUB_TOKEN}}
57+
echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
58+
echo "@exceptionless:registry=https://npm.pkg.github.com" >> .npmrc
59+
echo "always-auth=true" >> .npmrc
5960
npm publish --workspaces --access public
61+
env:
62+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"lage",
2626
"maxcdn",
2727
"ncaught",
28+
"npmrc",
2829
"ratelimit",
2930
"tsproject",
3031
"vite",

0 commit comments

Comments
 (0)