From c813d2418b551748fe36f9740f79c23ca915b77e Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Sun, 1 Mar 2026 15:52:22 -0500 Subject: [PATCH] Update workflows --- .github/workflows/node.js.yml | 6 +++--- .github/workflows/publish.yml | 13 ++++--------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d2a89a3..7d23e8b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,19 +16,19 @@ jobs: strategy: matrix: - node-version: [20, 22, 24] + node-version: [20, 22, 24, 25] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Install pnpm uses: pnpm/action-setup@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9c56182..6da8750 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,23 +2,20 @@ name: Publish Package to npmjs on: release: types: [published] - workflow_call: - secrets: - NPM_TOKEN: - required: true jobs: build: runs-on: ubuntu-latest + environment: publish permissions: contents: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: 'https://registry.npmjs.org' cache: pnpm - run: pnpm i -r @@ -33,5 +30,3 @@ jobs: publish_dir: docs publish_branch: gh-pages - run: npm publish --access public --provenance - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}