diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93b4d834d..1de5dd239 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: # Allow yarn to make changes during release - run: corepack yarn config set enableHardenedMode false - run: corepack yarn --mode=update-lockfile + - run: | + echo '' >> .yarnrc.yml + echo 'npmAuthToken: "${NPM_TOKEN}"' >> .yarnrc.yml - name: Install dependencies run: corepack yarn install --immutable diff --git a/.yarnrc.yml b/.yarnrc.yml index 524286f69..d2890fb76 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -11,4 +11,3 @@ nodeLinker: node-modules npmPublishAccess: public -npmAuthToken: "${NPM_TOKEN}"