From 8f0d1047846388c3106ff70ed61f7eb3a0a6033f Mon Sep 17 00:00:00 2001 From: makserik <15821542+makserik@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:32:32 +0200 Subject: [PATCH] fix: npm fails to publish (#505) * fix: npm fails to publish * Update on-merge-main.yml --- .github/workflows/on-merge-main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/on-merge-main.yml b/.github/workflows/on-merge-main.yml index 51fee15f..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 @@ -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: