From 7d459c985024a9825792eaab1a932dbf6116ac0b Mon Sep 17 00:00:00 2001 From: dominikg Date: Tue, 9 Sep 2025 15:55:10 +0200 Subject: [PATCH] use node24 and remove NPM_TOKEN in release workflow --- .github/workflows/release.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bee3e277..e3015e754 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: # pseudo-matrix for convenience, NEVER use more than a single combination - node: [22] + node: [24] os: [ubuntu-latest] steps: - name: checkout @@ -47,13 +47,7 @@ jobs: run: pnpm generate:types && [ "`git status --porcelain=v1`" == "" ] - name: publint run: pnpm check:publint - - name: Creating .npmrc - run: | - cat << EOF > "$HOME/.npmrc" - //registry.npmjs.org/:_authToken=$NPM_TOKEN - EOF - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release Pull Request or Publish to npm id: changesets # pinned for security, always review third party action code before updating @@ -63,10 +57,4 @@ jobs: publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true - - name: Remove .npmrc - if: always() - run: | - echo "#deleted" > "$HOME/.npmrc" - rm -f "$HOME/.npmrc"