From 8228c0456c5a151a95693612d393ca8f413f99b3 Mon Sep 17 00:00:00 2001 From: AndrewLeedham Date: Mon, 7 Aug 2023 16:17:31 +0100 Subject: [PATCH] Remove useWorkspaces and cat lerna.json --- .github/scripts/apply-force-publish-labels.mjs | 1 - .github/workflows/publish.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/apply-force-publish-labels.mjs b/.github/scripts/apply-force-publish-labels.mjs index dd5e1b38..2c3c5ca8 100644 --- a/.github/scripts/apply-force-publish-labels.mjs +++ b/.github/scripts/apply-force-publish-labels.mjs @@ -69,7 +69,6 @@ async function applyForcePublishLabels() { const lerna = { version: 'independent', npmClient: 'pnpm', - useWorkspaces: true, command: { publish: { registry: 'https://registry.npmjs.org', diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9fcfa31a..0b3381d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,7 +52,7 @@ jobs: - run: node ./.github/scripts/apply-force-publish-labels.mjs env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - run: pnpm run deploy + - run: cat ./lerna.json && pnpm run deploy env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} SLACK_WEBHOOK_URL: ${{secrets.NPM_SLACK_WEBHOOK}}