Skip to content

Commit f28ecf5

Browse files
committed
fix(workflows): update node version and pnpm version to use matrix variables
1 parent 363e4e6 commit f28ecf5

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/check.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macos-latest]
17+
nodejs: ["lts/*", "lts/-1", "*"]
18+
pnpm: ["^12.3.0"]
1719
runs-on: ${{ matrix.os }}
1820
timeout-minutes: 30
1921
steps:
2022
- uses: actions/checkout@v7
2123
- uses: actions/setup-node@v7
2224
with:
23-
node-version: 24.20.0
25+
node-version: ${{ matrix.nodejs }}
2426
- uses: pnpm/setup@v3
2527
with:
26-
version: 12.3.4
28+
version: ${{ matrix.pnpm }}
2729
- run: pnpm install --frozen-lockfile
2830
- run: pnpm run check
2931
- name: Require deterministic generated files

‎.github/workflows/update.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- uses: actions/checkout@v7
2323
- uses: actions/setup-node@v7
2424
with:
25-
node-version: 24.20.0
25+
node-version: "lts/*"
2626
- uses: pnpm/setup@v3
2727
with:
28-
version: 12.3.4
28+
version: "^12.3.0"
2929
- run: pnpm install --frozen-lockfile
3030
- name: Refresh the source snapshot
3131
id: refresh

0 commit comments

Comments
 (0)