Skip to content

Commit

Permalink
Fix Node.js 12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 4, 2023
1 parent a0b89da commit 2b2358e
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- 18
- 16
- 14
- 12
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
Expand All @@ -52,3 +51,28 @@ jobs:
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: node --experimental-vm-modules node_modules/jest/bin/jest.js
old:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 12
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v1
with:
version: 3
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: node --experimental-vm-modules node_modules/jest/bin/jest.js

0 comments on commit 2b2358e

Please sign in to comment.