diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 96152541448..e7f9a4c8d82 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -16,11 +16,12 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4.0.0 - - name: Set node version to 18 + - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18 - cache: pnpm + node-version-file: '.node-version' + registry-url: 'https://registry.npmjs.org' + cache: 'pnpm' - run: pnpm install diff --git a/.github/workflows/canary-minor.yml b/.github/workflows/canary-minor.yml index a29f8ff94d6..ffb9b384d4e 100644 --- a/.github/workflows/canary-minor.yml +++ b/.github/workflows/canary-minor.yml @@ -19,10 +19,10 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4.0.0 - - name: Set node version to 18 + - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: '.node-version' registry-url: 'https://registry.npmjs.org' cache: 'pnpm'