diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebda384..ad9e533 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,10 @@ jobs: name: Release needs: check if: needs.check.outputs.continue == 'true' + permissions: + contents: write + pull-requests: write + id-token: write steps: - name: Checkout the repository uses: actions/checkout@v7 @@ -67,13 +71,11 @@ jobs: - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version: 24 cache: 'pnpm' - registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install - name: Simple release run: pnpm tsm --no-warnings ./packages/ci/src/action.ts env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}