diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 4f0867df..f7893151 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -85,7 +85,7 @@ jobs: # ubuntu-slim already include lts node so we don't need to setup node on ubuntu-slim runner - name: Set up Node.js if: ${{ matrix.os != 'ubuntu-slim' }} - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: "npm" check-latest: true diff --git a/.github/workflows/codemod_publish.yml b/.github/workflows/codemod_publish.yml index 6f64d486..3ada737c 100644 --- a/.github/workflows/codemod_publish.yml +++ b/.github/workflows/codemod_publish.yml @@ -98,7 +98,7 @@ jobs: ls -lah "$CODEMOD_PATH" - name: Setup Node.js environment - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version-file: ".nvmrc" cache: npm