From cffc6e81e22ad8301788e343e641581afca91094 Mon Sep 17 00:00:00 2001 From: Hunaid Hassan Date: Mon, 27 Apr 2026 17:58:33 +0200 Subject: [PATCH] Pin Node to 22.14.0 to fix corrupted npm toolcache --- .github/workflows/npm-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5efc9da..db9b214 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,12 +18,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 22 + node-version: '22.14.0' registry-url: 'https://registry.npmjs.org' - - name: Update npm to latest - run: npm install -g npm@latest - - name: Install dependencies run: npm ci @@ -32,7 +29,10 @@ jobs: - name: Build run: npm run build - + + - name: Update npm for provenance support + run: npm install -g npm@latest + - name: Check if version is published id: check-version run: |