Skip to content

Commit

Permalink
Move from yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jan 5, 2022
1 parent a863d30 commit 29b6774
Show file tree
Hide file tree
Showing 3 changed files with 1,498 additions and 1,412 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 17
cache: yarn
cache: pnpm
- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run tests
run: yarn test
run: pnpm test
env:
FORCE_COLOR: 2
short:
Expand All @@ -32,14 +36,18 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache: pnpm
- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: yarn unit
run: pnpm unit
env:
FORCE_COLOR: 2

0 comments on commit 29b6774

Please sign in to comment.