Skip to content

Commit c2f8725

Browse files
committed
Clean up CI
1 parent 2db2ccf commit c2f8725

1 file changed

Lines changed: 15 additions & 23 deletions

File tree

.github/workflows/test.yml

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,31 @@ jobs:
1313
steps:
1414
- name: Checkout the repository
1515
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
16-
- name: Install pnpm
17-
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
18-
with:
19-
version: 11
20-
- name: Install Node.js
21-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
16+
- name: Install Node.js & pnpm
17+
uses: pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
2218
with:
23-
node-version: 26
24-
cache: pnpm
19+
version: 11.10.0
20+
runtime: node@26
2521
- name: Install dependencies
26-
run: pnpm install --frozen-lockfile --ignore-scripts
22+
run: pnpm ci
2723
- name: Run tests
2824
run: pnpm test
2925
short:
3026
runs-on: ubuntu-latest
3127
strategy:
3228
matrix:
33-
node-version:
29+
node:
3430
- 24
3531
- 22
36-
name: Node.js ${{ matrix.node-version }} Quick
32+
name: Node.js ${{ matrix.node }} Quick
3733
steps:
3834
- name: Checkout the repository
3935
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
40-
- name: Install pnpm
41-
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
42-
with:
43-
version: 11
44-
- name: Install Node.js ${{ matrix.node-version }}
45-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
36+
- name: Install Node.js & pnpm
37+
uses: pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
4638
with:
47-
node-version: ${{ matrix.node-version }}
48-
cache: pnpm
39+
version: 11.10.0
40+
runtime: node@${{ matrix.node }}
4941
- name: Install dependencies
5042
run: pnpm install --frozen-lockfile --ignore-scripts
5143
- name: Run unit tests
@@ -54,14 +46,14 @@ jobs:
5446
runs-on: ubuntu-latest
5547
strategy:
5648
matrix:
57-
node-version:
49+
node:
5850
- 20
5951
- 18
6052
- 16
6153
- 14
6254
- 12
6355
- 10
64-
name: Node.js ${{ matrix.node-version }} Quick
56+
name: Node.js ${{ matrix.node }} Quick
6557
steps:
6658
- name: Checkout the repository
6759
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -71,10 +63,10 @@ jobs:
7163
version: 3
7264
env:
7365
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
74-
- name: Install Node.js ${{ matrix.node-version }}
66+
- name: Install Node.js ${{ matrix.node }}
7567
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7668
with:
77-
node-version: ${{ matrix.node-version }}
69+
node-version: ${{ matrix.node }}
7870
- name: Install dependencies
7971
run: pnpm install --no-frozen-lockfile --ignore-scripts
8072
- name: Run unit tests

0 commit comments

Comments
 (0)