ci: test all supported OSes on Node 22 and 24
This commit is contained in:
parent
b5ad5e9244
commit
b132712635
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -23,14 +23,18 @@ jobs:
|
||||
uses: rhysd/actionlint@914e7df21a07ef503a81201c76d2b11c789d3fca # v1.7.12
|
||||
|
||||
check:
|
||||
name: Node 22 check (${{ matrix.os }})
|
||||
name: Node ${{ matrix.node }} check (${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node:
|
||||
- 22
|
||||
- 24
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
steps:
|
||||
- name: Check out
|
||||
@ -45,7 +49,7 @@ jobs:
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: pnpm
|
||||
cache-dependency-path: pnpm-lock.yaml
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user