Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from apilytics/fix-cd
Browse files Browse the repository at this point in the history
Fix npm 404 auth error on CD pipeline
  • Loading branch information
ruohola authored Jan 16, 2022
2 parents 7ee7aae + 832d67c commit 3d416fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
- name: "Publish to npm"
id: publish
run: |
echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > .npmrc
yarn publish:all ${{ github.event.inputs.release-type }}
echo "::set-output name=version::$(node --print 'require("./lerna.json").version')"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: "Update the changelog"
# Find the first line that starts with `###` or `## [<number>` from the CHANGELOG and insert the new version header before it.
Expand Down

0 comments on commit 3d416fb

Please sign in to comment.