From 1c1d9b8c1556729ca477ef56b0b27102e73016f5 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Tue, 28 Apr 2026 13:34:50 +0200 Subject: [PATCH] fix(ci): install npm 11+ for OIDC trusted publishing support Node 22 ships with npm 10.x which does not support OIDC authentication. Trusted publishing requires npm 11.5.1+. --- .github/workflows/publish.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5c89a79..96d83ca 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,5 +29,8 @@ jobs: - name: Build run: yarn build + - name: Update npm + run: npm install -g npm@latest + - name: Publish run: npm publish --access public