From 1d29fed2eb1e83012dc616473f8c7c4f8fcb9cb7 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Thu, 20 Oct 2022 01:51:36 +0300 Subject: [PATCH] revert: "ci(release): set npm token via env variable" This reverts commit e32972dc25eea6095083efacbf54163c7ae9651f. --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a40b1b39483..ec56fd84f3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,11 +35,10 @@ jobs: run: pnpm install - name: Publish Packages env: - "npm_config_//registry.npmjs.org/:_authToken": ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - pnpm publish --filter=@pnpm/exe --tag=next-7 --access=public - pnpm publish --filter=!pnpm --filter=!@pnpm/exe --access=public - pnpm publish --filter=pnpm --tag=next-7 --access=public + pnpm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}" + pnpm release - name: Copy Artifacts run: pnpm run copy-artifacts - name: Generate release description