Skip to content

Commit df0c90e

Browse files
committed
Fix Node.js 10 on CI and pnpm
1 parent ca55b32 commit df0c90e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
- 16
3333
- 14
3434
- 12
35-
- 10
3635
name: Node.js ${{ matrix.node-version }} Quick
3736
steps:
3837
- name: Checkout the repository
@@ -52,6 +51,28 @@ jobs:
5251
run: ./node_modules/.bin/jest
5352
env:
5453
FORCE_COLOR: 2
54+
old:
55+
runs-on: ubuntu-latest
56+
name: Node.js 10 Quick
57+
steps:
58+
- name: Checkout the repository
59+
uses: actions/checkout@v2
60+
- name: Install pnpm
61+
uses: pnpm/action-setup@v1
62+
with:
63+
version: 3
64+
env:
65+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
66+
- name: Install Node.js 10
67+
uses: actions/setup-node@v2
68+
with:
69+
node-version: 10
70+
- name: Install dependencies
71+
run: pnpm install --frozen-lockfile --ignore-scripts
72+
- name: Run unit tests
73+
run: pnpm unit
74+
env:
75+
FORCE_COLOR: 2
5576
benchmark:
5677
name: Benchmark
5778
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)