diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04921f72c..306883c72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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