From 97801f70d6332c3d8aac97ef9c6337cfa9c7745d Mon Sep 17 00:00:00 2001 From: Josh Muir Date: Fri, 30 Aug 2024 19:25:23 +0100 Subject: [PATCH 1/5] Try with prod=false --- .github/workflows/npm-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index b2b0355..26df70d 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -32,5 +32,5 @@ jobs: PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.PROTECTED_BRANCH_REVIEWER_TOKEN }} run: | corepack enable - yarn install --frozen-lockfile + yarn install --immutable --production=false npx auto shipit \ No newline at end of file From a5365a86316dc69e917ec7704f6accf74b4bfc3f Mon Sep 17 00:00:00 2001 From: Josh Muir Date: Fri, 30 Aug 2024 19:33:27 +0100 Subject: [PATCH 2/5] Try setting env --- .github/workflows/npm-publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 26df70d..7b3aa6c 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -30,7 +30,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.PROTECTED_BRANCH_REVIEWER_TOKEN }} + NODE_ENV: dev run: | corepack enable - yarn install --immutable --production=false + yarn install --immutable npx auto shipit \ No newline at end of file From 32d94d8ef1f660553623cd54826e1cef7a848f68 Mon Sep 17 00:00:00 2001 From: Josh Muir Date: Fri, 30 Aug 2024 19:37:46 +0100 Subject: [PATCH 3/5] Try with manual add --- .github/workflows/npm-publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 7b3aa6c..0418b14 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -33,5 +33,6 @@ jobs: NODE_ENV: dev run: | corepack enable + yarn add @auto-it/protected-branch --dev yarn install --immutable npx auto shipit \ No newline at end of file From 3968051038868194dfba6a81b972eab2e4e8bb1e Mon Sep 17 00:00:00 2001 From: Josh Muir Date: Fri, 30 Aug 2024 19:39:36 +0100 Subject: [PATCH 4/5] Try w/ other name --- .github/workflows/npm-publish.yaml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 0418b14..7b3aa6c 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -33,6 +33,5 @@ jobs: NODE_ENV: dev run: | corepack enable - yarn add @auto-it/protected-branch --dev yarn install --immutable npx auto shipit \ No newline at end of file diff --git a/package.json b/package.json index 54dffec..a05c06e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "auto": { "plugins": [ "npm", - "protected-branch" + "@auto-it/protected-branch" ], "onlyPublishWithReleaseLabel": true } From f9ca7a713443cca6b5805767b431c1d60b1baa21 Mon Sep 17 00:00:00 2001 From: Josh Muir Date: Fri, 30 Aug 2024 19:40:56 +0100 Subject: [PATCH 5/5] Try w/o immutable --- .github/workflows/npm-publish.yaml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 7b3aa6c..89f078d 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -33,5 +33,5 @@ jobs: NODE_ENV: dev run: | corepack enable - yarn install --immutable + yarn install npx auto shipit \ No newline at end of file diff --git a/package.json b/package.json index a05c06e..54dffec 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "auto": { "plugins": [ "npm", - "@auto-it/protected-branch" + "protected-branch" ], "onlyPublishWithReleaseLabel": true }