Skip to content

Commit

Permalink
ci: test in Yarn Berry PnP
Browse files Browse the repository at this point in the history
  • Loading branch information
jclab-joseph authored Apr 7, 2023
1 parent fc38e7f commit 39187e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
yarn: [classic, berry]
steps:
- name: Fix git checkout line endings
run: git config --global core.autocrlf input
Expand All @@ -29,7 +30,11 @@ jobs:
run: |
npm install -g npm@8
- name: Install
if: matrix.yarn == 'classic'
run: yarn install
- name: Install with berry
if: matrix.yarn == 'berry'
run: yarn set version berry && yarn install
- name: Lint
run: yarn lint
- name: Ensure packages in sync
Expand All @@ -44,6 +49,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-20.04]
yaen: [classic, berry]
steps:
- name: Fix git checkout line endings
run: git config --global core.autocrlf input
Expand Down Expand Up @@ -71,7 +77,11 @@ jobs:
node-version: 14.x
cache: yarn
- name: Install
if: matrix.yarn == 'classic'
run: yarn install --frozen-lockfile
- name: Install with berry
if: matrix.yarn == 'berry'
run: yarn set version berry && yarn install
- name: Build
run: yarn build
- name: Test
Expand Down

0 comments on commit 39187e4

Please sign in to comment.