Skip to content

Commit 6759fcb

Browse files
sukvvondbritto-devdai-shi
authored
chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' (#2933)
* chore(.github/workflows): update 'node-version' to 22 in 'actions/setup-node' * Update .github/workflows/compressed-size-action.yml Co-authored-by: Danilo Britto <dbritto.dev@gmail.com> * chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' * chore(.github/workflows): add single quote for consistency * Update .github/workflows/test-multiple-versions.yml Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com> --------- Co-authored-by: Danilo Britto <dbritto.dev@gmail.com> Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
1 parent 2e6d881 commit 6759fcb

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/compressed-size-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: pnpm/action-setup@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 20
13+
node-version: 'lts/*'
1414
cache: 'pnpm'
1515
- uses: preactjs/compressed-size-action@v2
1616
with:

.github/workflows/cr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: pnpm/action-setup@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 20
13+
node-version: 'lts/*'
1414
cache: 'pnpm'
1515
- run: pnpm install
1616
- run: pnpm build

.github/workflows/lint-and-type.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: pnpm/action-setup@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 'lts/*'
1818
cache: 'pnpm'
1919
- run: pnpm install
2020
- run: pnpm test:format

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: pnpm/action-setup@v4
1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 'lts/*'
1616
registry-url: 'https://registry.npmjs.org'
1717
cache: 'pnpm'
1818
- run: pnpm install

.github/workflows/test-multiple-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: pnpm/action-setup@v4
2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 'lts/*'
2323
cache: 'pnpm'
2424
- run: pnpm install
2525
- run: pnpm build

.github/workflows/test-multiple-versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: pnpm/action-setup@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 'lts/*'
1818
cache: 'pnpm'
1919
- run: pnpm install
2020
- run: pnpm build # we don't have any other workflows to test build
@@ -38,7 +38,7 @@ jobs:
3838
- uses: pnpm/action-setup@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 20
41+
node-version: 'lts/*'
4242
cache: 'pnpm'
4343
- run: pnpm install
4444
- name: Test ${{ matrix.react }} ${{ matrix.devtools-skip }}

.github/workflows/test-old-typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: pnpm/action-setup@v4
3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: 20
32+
node-version: 'lts/*'
3333
cache: 'pnpm'
3434
- run: pnpm install
3535
- run: pnpm build

0 commit comments

Comments
 (0)