Skip to content

Commit

Permalink
Move to pnpm 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 14, 2023
1 parent bc3479b commit 7c81cc5
Show file tree
Hide file tree
Showing 2 changed files with 1,031 additions and 983 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- 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
- 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
- name: Run unit tests
run: ./node_modules/.bin/jest --forceExit
short:
runs-on: ubuntu-latest
name: Node.js 14 Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- 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
- name: Run unit tests
run: ./node_modules/.bin/jest --forceExit

0 comments on commit 7c81cc5

Please sign in to comment.