Skip to content

Commit

Permalink
fix npm auth token for yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
sotojn committed Jan 10, 2025
1 parent 2af44d9 commit 59ce57e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: yarn && yarn setup

- name: Publish to npm
run: yarn ts-scripts publish -t tag npm
run: CI_NPM_AUTH_TOKEN=${{ secrets.NPM_TOKEN }} yarn ts-scripts publish -t tag npm

docker-build-publish:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.6.0.cjs

enableHardenedMode: false

npmScopes:
_default:
npmAuthToken: "${CI_NPM_AUTH_TOKEN:-placeHolderToken}"

0 comments on commit 59ce57e

Please sign in to comment.