From efc265f1df84c8405e4ac2a5ecbb535253ead28a Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Sat, 4 Jan 2025 00:34:34 +0900 Subject: [PATCH] chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' --- .github/workflows/compressed-size-action.yml | 2 +- .github/workflows/cr.yml | 2 +- .github/workflows/lint-and-type.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 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compressed-size-action.yml b/.github/workflows/compressed-size-action.yml index 278d0b2a..e55467c6 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 0ea40090..b9235fe8 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 f13ceb80..085d119f 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 8613b881..797a0ccb 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 98ef824c..ea6c2217 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 61b2c3cc..e8e6618f 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 - run: pnpm build # for macro test diff --git a/.github/workflows/test-old-typescript.yml b/.github/workflows/test-old-typescript.yml index eb3104ad..74258e39 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