From 3d4bcd4868c9cc1d4735c212a2bed7e3ec95c501 Mon Sep 17 00:00:00 2001 From: tequ Date: Thu, 6 Aug 2026 12:56:37 +0900 Subject: [PATCH] fix publish workflow --- .github/workflows/npm-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4009b47..c541975 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -30,10 +30,10 @@ jobs: uses: actions/setup-node@v7 with: node-version: '22.x' - registry-url: 'https://registry.npmjs.org' + cache: yarn - - name: Update npm (OIDC trusted publishing requires npm >= 11.5.1) - run: npm install -g npm@latest + - name: Update npm for OIDC trusted publishing + run: npm install --global npm@latest - name: Verify version matches package.json run: | @@ -61,7 +61,7 @@ jobs: - name: Publish to npm if: ${{ !inputs.dry_run }} - run: npm publish --access public --provenance + run: npm publish --access public - name: Create GitHub Release if: ${{ !inputs.dry_run }}