Skip to content

Commit

Permalink
fix(repo): deployment errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 26, 2021
1 parent 3bcdb5b commit 0d92c44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Setup NPM Auth
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm whoami
- name: Release
run: npx semantic-release
env:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
'@semantic-release/exec',
{
publishCmd: [
`npm set https://registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
// `npm set https://registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
'npx ts-node tools/scripts/publish-all ${nextRelease.version} ${nextRelease.channel}',
].join(' && '),
},
Expand Down

0 comments on commit 0d92c44

Please sign in to comment.