Skip to content
Snippets Groups Projects
Unverified Commit 82bd76cf authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

chore: fix npm publish (#5805)

parent fc8a46b6
No related branches found
No related tags found
No related merge requests found
...@@ -265,6 +265,7 @@ jobs: ...@@ -265,6 +265,7 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
- name: Init platform - name: Init platform
id: init id: init
...@@ -318,9 +319,7 @@ jobs: ...@@ -318,9 +319,7 @@ jobs:
- name: semantic-release - name: semantic-release
run: | run: |
echo '//registry.yarnpkg.com/:_authToken=${NPM_TOKEN}' > ~/.npmrc npx semantic-release --dry-run ${{github.ref != 'refs/heads/master'}}
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc
yarn semantic-release --dry-run ${{github.ref != 'refs/heads/master'}}
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment