From 9a9237ae21c9503c965a43a34ca8ec5336a58a74 Mon Sep 17 00:00:00 2001 From: David Festal Date: Thu, 7 Dec 2023 22:05:39 +0100 Subject: [PATCH] fix(ci): auth for the `dist-dynamic` npm publish (#1009) Signed-off-by: David Festal --- .github/actions/build/action.yaml | 1 - .github/workflows/push.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 0e5039f1a6..e02feccdec 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -12,7 +12,6 @@ runs: with: node-version-file: '.nvmrc' cache: 'yarn' - registry-url: 'https://registry.npmjs.org' - name: Setup local Turbo cache uses: dtinth/setup-github-actions-caching-for-turbo@v1 diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 9c7498e3b9..84dc873f94 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -32,6 +32,12 @@ jobs: - name: Build all packages uses: ./.github/actions/build + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + registry-url: 'https://registry.npmjs.org' + - name: Release via semantic-release run: | npm config set workspaces-update false