diff --git a/.github/workflows/js.yaml b/.github/workflows/js.yaml index e94f201b..fd187b28 100644 --- a/.github/workflows/js.yaml +++ b/.github/workflows/js.yaml @@ -94,7 +94,7 @@ jobs: ref: ${{github.event.pull_request.head.ref}} # Can't commit on detached PR merge commit, so this checkouts the branch token: ${{ steps.generate-token.outputs.token }} - run: git config --global "url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf" "https://github.com/" - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v6.4.0 with: node-version-file: package.json - name: "Enable Corepack" @@ -153,7 +153,7 @@ jobs: if: ${{ inputs.pull-dvc-datasets }} run: dvc pull -v --allow-missing - run: git config --global "url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf" "https://github.com/" - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v6.4.0 with: node-version-file: package.json - name: "Enable Corepack"