From 4be4deb650f4131f2bfe4d5d751620be6b540065 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Sat, 4 Jan 2025 11:27:55 +0900 Subject: [PATCH] chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' (#2904) * chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' * chore(.github/workflows/ecosystem-ci.yml): change 'node-version' to 'latest' in 'actions/setup-node' * chore(.github/workflows): add single quote for consistency * Update .github/workflows/ecosystem-ci.yml Co-authored-by: Daishi Kato --------- Co-authored-by: Daishi Kato --- .github/workflows/compressed-size-action.yml | 2 +- .github/workflows/cr.yml | 2 +- .github/workflows/lint-and-type.yml | 2 +- .github/workflows/livecodes-preview.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test-multiple-builds.yml | 2 +- .github/workflows/test-multiple-versions.yml | 4 ++-- .github/workflows/test-old-typescript.yml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) 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/livecodes-preview.yml b/.github/workflows/livecodes-preview.yml index e50ab1b21f..20453e0102 100644 --- a/.github/workflows/livecodes-preview.yml +++ b/.github/workflows/livecodes-preview.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: live-codes/preview-in-livecodes@v1 with: 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 b1e26e7140..e4a50b1b95 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 82d0fb8614..9ebcfec50f 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 @@ -40,7 +40,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: Install legacy testing-library diff --git a/.github/workflows/test-old-typescript.yml b/.github/workflows/test-old-typescript.yml index 1943c6068d..a168a6cf9b 100644 --- a/.github/workflows/test-old-typescript.yml +++ b/.github/workflows/test-old-typescript.yml @@ -36,7 +36,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