diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af268cf..041c7fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - name: Checkout repository @@ -23,16 +26,13 @@ jobs: uses: actions/setup-node@v7 with: node-version: 26 - registry-url: 'https://registry.npmjs.org/' cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build package run: pnpm build - name: Publish to npm - run: pnpm publish --access public --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: pnpm publish --access public --no-git-checks --provenance