Skip to content

Commit 0d92c44

Browse files
author
Craigory Coppola
committed
fix(repo): deployment errors
1 parent 3bcdb5b commit 0d92c44

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
run: |
5656
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
5757
git config --local user.name "github-actions[bot]"
58+
- name: Setup NPM Auth
59+
run: |
60+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
61+
npm whoami
5862
- name: Release
5963
run: npx semantic-release
6064
env:

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = {
3636
'@semantic-release/exec',
3737
{
3838
publishCmd: [
39-
`npm set https://registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
39+
// `npm set https://registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
4040
'npx ts-node tools/scripts/publish-all ${nextRelease.version} ${nextRelease.channel}',
4141
].join(' && '),
4242
},

0 commit comments

Comments
 (0)