Skip to content

Commit

Permalink
ci: add yarn pnp test
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Sep 13, 2020
1 parent 85400e8 commit ad2a37e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,25 @@ jobs:
WITH_LOG: true
LIGHTHOUSE_CHROMIUM_PATH: 'which google-chrome-stable'
run: npm run test
pnpTest:
name: PnPTest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Run PnP test
run: |
git clone https://github.com/preactjs-templates/default.git default
cd default/template
touch yarn.lock
yarn set version 2
yarn config set pnpFallbackMode none
yarn config set compressionLevel 0
yarn link -A -p ../..
yarn build

0 comments on commit ad2a37e

Please sign in to comment.