diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5c1259..43bb95c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,10 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} +permissions: + contents: write + id-token: write + jobs: release: name: Release @@ -18,10 +22,14 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - - name: Setup Node.js 20.x + - name: Setup Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x + registry-url: "https://registry.npmjs.org" + + - name: Update npm + run: npm install -g npm@latest - name: Install Dependencies run: pnpm i @@ -34,4 +42,4 @@ jobs: publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: "false"