diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index 289bc36c608..8093fbd25f9 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -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 diff --git a/.yarnrc.yml b/.yarnrc.yml index 035b76fc3b5..859406c1a34 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -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}"