Skip to content

Commit 08d960e

Browse files
committed
Fix Node.js 12 on CI
1 parent 684afed commit 08d960e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
node-version:
3434
- 16
3535
- 14
36-
- 12
3736
name: Node.js ${{ matrix.node-version }} Quick
3837
steps:
3938
- name: Checkout the repository
@@ -53,7 +52,27 @@ jobs:
5352
run: pnpm unit
5453
env:
5554
FORCE_COLOR: 2
56-
old:
55+
old12:
56+
runs-on: ubuntu-latest
57+
name: Node.js 12 Quick
58+
steps:
59+
- name: Checkout the repository
60+
uses: actions/checkout@v3
61+
- name: Install pnpm
62+
uses: pnpm/action-setup@v2
63+
with:
64+
version: "^6.0.0"
65+
- name: Install Node.js 10
66+
uses: actions/setup-node@v3
67+
with:
68+
node-version: 12
69+
- name: Install dependencies
70+
run: pnpm install --frozen-lockfile --ignore-scripts
71+
- name: Run unit tests
72+
run: pnpm unit
73+
env:
74+
FORCE_COLOR: 2
75+
old10:
5776
runs-on: ubuntu-latest
5877
name: Node.js 10 Quick
5978
steps:

0 commit comments

Comments
 (0)