Skip to content

Commit

Permalink
TCS-1 Fix publish step
Browse files Browse the repository at this point in the history
Yarn doesn't have `registry` as a config value so we need to set it with
NPM instead.
  • Loading branch information
styler3 committed Jan 15, 2025
1 parent 4386b23 commit c711555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# yarn version only works if there is already a version entry in package.json
npm version $VERSION --allow-same-version
echo "Publishing $PACKAGE @ $VERSION"
yarn config set registry https://registry.npmjs.org/
npm config set registry https://registry.npmjs.org/
yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c711555

Please sign in to comment.