8000 ci: test node 22 lts (#1023) · sveltejs/vite-plugin-svelte@e2232ba · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit e2232ba

Browse files
authored
ci: test node 22 lts (#1023)
1 parent 364b7d1 commit e2232ba

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# build and test on linux, windows, mac with node 18,20
21
name: CI
32

43
on:
@@ -22,15 +21,15 @@ permissions:
2221
contents: read # to fetch code (actions/checkout)
2322

2423
jobs:
25-
# "checks" job runs on linux + 16 only and checks that install, build, lint and audit work
24+
# "checks" job runs on linux + node lts only and checks that install, build, lint and audit work
2625
# it also primes the pnpm store cache for linux, important for downstream tests
2726
checks:
2827
timeout-minutes: 5
2928
runs-on: ${{ matrix.os }}
3029
strategy:
3130
matrix:
3231
# pseudo-matrix for convenience, NEVER use more than a single combination
33-
node: [20]
32+
node: [22]
3433
os: [ubuntu-latest]
3534
steps:
3635
- uses: actions/checkout@v4
@@ -68,18 +67,19 @@ jobs:
6867
if: (${{ success() }} || ${{ failure() }})
6968
run: pnpm generate:types && [ "`git status --porcelain=v1`" == "" ]
7069

70+
# "test" job runs on linux, windows, mac with node active lts and linux with node maintenance lts
7171
test:
7272
timeout-minutes: 10
7373
runs-on: ${{ matrix.os }}
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
node: [20]
77+
node: [22]
7878
os: [ubuntu-latest, macos-latest, windows-latest]
7979
include:
8080
- node: 18
8181
os: ubuntu-latest
82-
- node: 22
82+
- node: 20
8383
os: ubun 8EA9 tu-latest
8484
steps:
8585
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
# pseudo-matrix for convenience, NEVER use more than a single combination
22-
node: [20]
22+
node: [22]
2323
os: [ubuntu-latest]
2424
steps:
2525
- name: checkout

0 commit comments

Comments
 (0)
0