diff --git a/.github/workflows/compressed-size-action.yml b/.github/workflows/compressed-size-action.yml index 278d0b2a01..56d40ca57a 100644 --- a/.github/workflows/compressed-size-action.yml +++ b/.github/workflows/compressed-size-action.yml @@ -10,7 +10,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - uses: preactjs/compressed-size-action@v2 with: diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 0ea400905e..8f379b5dd3 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -10,7 +10,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - run: pnpm build diff --git a/.github/workflows/lint-and-type.yml b/.github/workflows/lint-and-type.yml index f13ceb8058..e1ddc722fb 100644 --- a/.github/workflows/lint-and-type.yml +++ b/.github/workflows/lint-and-type.yml @@ -14,7 +14,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - run: pnpm test:format diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8613b881d3..01ed803f95 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - run: pnpm install diff --git a/.github/workflows/test-multiple-builds.yml b/.github/workflows/test-multiple-builds.yml index 2680c54355..fb4d27a6f4 100644 --- a/.github/workflows/test-multiple-builds.yml +++ b/.github/workflows/test-multiple-builds.yml @@ -19,7 +19,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - run: pnpm build diff --git a/.github/workflows/test-multiple-versions.yml b/.github/workflows/test-multiple-versions.yml index 6217185509..f9c7de4998 100644 --- a/.github/workflows/test-multiple-versions.yml +++ b/.github/workflows/test-multiple-versions.yml @@ -14,7 +14,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - run: pnpm build # we don't have any other workflows to test build @@ -38,7 +38,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - name: Test ${{ matrix.react }} ${{ matrix.devtools-skip }} diff --git a/.github/workflows/test-old-typescript.yml b/.github/workflows/test-old-typescript.yml index 3ebc39a5a5..34021c2fed 100644 --- a/.github/workflows/test-old-typescript.yml +++ b/.github/workflows/test-old-typescript.yml @@ -29,7 +29,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'pnpm' - run: pnpm install - run: pnpm build