From c2f4fbfd87678fc50b8c7d3637d0666f89d9af8a Mon Sep 17 00:00:00 2001 From: SMAKSS Date: Tue, 3 Nov 2026 04:04:08 +0000 Subject: [PATCH] ci(release): install latest npm for trusted publishing --- .github/workflows/ci.yml | 5 +++++ .github/workflows/npm-publish.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8df70b1..5c3b0a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,11 @@ jobs: cache: true require-lockfile: true + - name: Verify npm CLI setup for trusted publishing + run: | + pnpm add --global npm@latest + npm --version + - name: Run tests run: pnpm run test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1956933..368ce55 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -25,6 +25,11 @@ jobs: cache: true require-lockfile: true + - name: Install npm CLI for trusted publishing + run: | + pnpm add --global npm@latest + npm --version + - run: pnpm build - name: Release (master)