From 5e5136bfe7485471083d1fe64e750820734e938a Mon Sep 17 00:00:00 2001 From: makserik <15821542+makserik@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:20:42 +0200 Subject: [PATCH 1/2] fix: npm fails to publish --- .github/workflows/on-merge-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-merge-main.yml b/.github/workflows/on-merge-main.yml index 51fee15f..05853e0a 100644 --- a/.github/workflows/on-merge-main.yml +++ b/.github/workflows/on-merge-main.yml @@ -35,7 +35,7 @@ jobs: run: | npm run clean npm run build - npm login + npm whoami - name: "Create Pull Request or Publish to npm" uses: changesets/action@v1 with: From 37d88861be4ffc9897c4e0d7988dac0f4e959af8 Mon Sep 17 00:00:00 2001 From: makserik <15821542+makserik@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:25:10 +0200 Subject: [PATCH 2/2] Update on-merge-main.yml --- .github/workflows/on-merge-main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/on-merge-main.yml b/.github/workflows/on-merge-main.yml index 05853e0a..cd8c70f4 100644 --- a/.github/workflows/on-merge-main.yml +++ b/.github/workflows/on-merge-main.yml @@ -18,13 +18,13 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v3 - - name: Setup Node.js 16 + - name: Setup Node.js 20 uses: actions/setup-node@v3 with: - node-version: 16 - - name: Update npm to 8.x + node-version: 20 + - name: Update npm to 10.x run: | - npm i -g npm@8 + npm i -g npm@10 - name: Install Dependencies run: npm install - name: Setup CI Git User