Skip to content

Commit fcef23d

Browse files
committed
Fix CI
1 parent 702a29a commit fcef23d

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/test.yml

Lines changed: 26 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
@@ -53,3 +52,29 @@ jobs:
5352
run: pnpm unit
5453
env:
5554
FORCE_COLOR: 2
55+
old:
56+
runs-on: ubuntu-latest
57+
strategy:
58+
matrix:
59+
node-version:
60+
- 12
61+
name: Node.js ${{ matrix.node-version }} Quick
62+
steps:
63+
- name: Checkout the repository
64+
uses: actions/checkout@v3
65+
- name: Install pnpm
66+
uses: pnpm/action-setup@v1
67+
with:
68+
version: 3
69+
env:
70+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
71+
- name: Install Node.js ${{ matrix.node-version }}
72+
uses: actions/setup-node@v3
73+
with:
74+
node-version: ${{ matrix.node-version }}
75+
- name: Install dependencies
76+
run: pnpm install --frozen-lockfile --ignore-scripts
77+
- name: Run unit tests
78+
run: pnpm unit
79+
env:
80+
FORCE_COLOR: 2

0 commit comments

Comments
 (0)