From 70fe4ec2cae6151ef8a7b44c0b1b093fee142e69 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 4 Sep 2023 17:33:13 +0700 Subject: [PATCH] fix: fix publish --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a8eaa4da..01af0acf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish to registry on: push: branches: - - "main" + - 'main' permissions: contents: write @@ -30,7 +30,9 @@ jobs: run: yarn build:packages - name: Authenticate in npm - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc + run: | + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc + echo "workspaces-update = false" >> .npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }}