diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05abdd5d2..878023f4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,8 @@ jobs: - name: Use Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: - node-version: latest + node-version: "lts/*" + check-latest: true cache: "npm" - name: Setup Rust diff --git a/.github/workflows/sync-registry.yml b/.github/workflows/sync-registry.yml index 7c40bab52..407ec7140 100644 --- a/.github/workflows/sync-registry.yml +++ b/.github/workflows/sync-registry.yml @@ -32,7 +32,8 @@ jobs: - name: Set up Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v4 with: - node-version: latest + node-version: "lts/*" + check-latest: true cache: "npm" - name: Install dependencies