diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 870ec63..02994ef 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -43,11 +43,14 @@ jobs: cache: pnpm registry-url: 'https://registry.npmjs.org' + - name: Upgrade npm for OIDC trusted publishing + run: npm install -g npm@latest + - name: Install dependencies run: pnpm install --frozen-lockfile --ignore-scripts - name: Build run: pnpm build - - name: Publish to npm with provenance - run: npm publish --access public --provenance + - name: Publish to npm + run: npm publish --access public