diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bdbebc98..44e07418 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,12 +12,12 @@ jobs: strategy: matrix: - node-version: [20, 22] + node-version: [22, 24] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} cache: npm diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c550fed4..21bb3862 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,10 +12,10 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci @@ -24,5 +24,3 @@ jobs: env: TAG_NAME: ${{ github.event.release.tag_name }} - run: npm whoami; npm --ignore-scripts publish --provenance - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}}