Skip to content

Commit 0324ebd

Browse files
committed
Fix Node.js 12 support on CI
1 parent c1cdb0a commit 0324ebd

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 1 deletion
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
@@ -51,3 +50,24 @@ jobs:
5150
run: pnpm install --frozen-lockfile --ignore-scripts
5251
- name: Run unit tests
5352
run: pnpm unit
53+
old:
54+
runs-on: ubuntu-latest
55+
name: Node.js 12 Quick
56+
steps:
57+
- name: Checkout the repository
58+
uses: actions/checkout@v3
59+
- name: Install pnpm
60+
uses: pnpm/action-setup@v2
61+
with:
62+
version: 6
63+
env:
64+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
65+
- name: Install Node.js 12
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+

0 commit comments

Comments
 (0)