Skip to content

Commit

Permalink
Fix and update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 3, 2023
1 parent cac8114 commit 22afbb7
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
version: 8
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -33,15 +33,14 @@ jobs:
node-version:
- 18
- 16
- 14
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
version: 8
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -51,3 +50,22 @@ jobs:
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit
old:
runs-on: ubuntu-latest
name: Node.js 14 Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14
cache: pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit

0 comments on commit 22afbb7

Please sign in to comment.