Skip to content

Commit

Permalink
Fix Node.js 12 support on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 3, 2022
1 parent c1cdb0a commit 0324ebd
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
node-version:
- 16
- 14
- 12
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
Expand All @@ -51,3 +50,24 @@ jobs:
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit
old:
runs-on: ubuntu-latest
name: Node.js 12 Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Install Node.js 12
uses: actions/setup-node@v3
with:
node-version: 12
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit

0 comments on commit 0324ebd

Please sign in to comment.