diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c92c510..8aa1ee6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: lint: 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 - run: npm ci - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee944fc..6c8aa48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,10 +11,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,6 +24,4 @@ jobs: npm version ${TAG_NAME} --git-tag-version=false env: TAG_NAME: ${{github.event.release.tag_name}} - - run: npm whoami; npm --ignore-scripts publish --provenance - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm --ignore-scripts publish --provenance