Unverified Commit 2e6bc8eb authored by Kristoffer K's avatar Kristoffer K Committed by GitHub

ci: add pnp test (#16255)

parent aa4b87e3
...@@ -70,10 +70,29 @@ jobs: ...@@ -70,10 +70,29 @@ jobs:
- run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3 - run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3
testYarnPnP:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--unhandled-rejections=strict'
steps:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile --check-files
- run: |
mkdir -p ./e2e-tests/next-pnp
cp -r ./examples/with-typescript/. ./e2e-tests/next-pnp
cd ./e2e-tests/next-pnp
touch yarn.lock
yarn set version berry
yarn config set pnpFallbackMode none
yarn link --all --private ../..
yarn build
testsPass: testsPass:
name: thank you, next name: thank you, next
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [lint, checkPrecompiled, testAll] needs: [lint, checkPrecompiled, testAll, testYarnPnP]
steps: steps:
- run: exit 0 - run: exit 0
......
...@@ -21,6 +21,7 @@ coverage ...@@ -21,6 +21,7 @@ coverage
test/**/out* test/**/out*
test/**/next-env.d.ts test/**/next-env.d.ts
.DS_Store .DS_Store
/e2e-tests
# Editors # Editors
**/.idea **/.idea
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"@types/node": "^12.12.21", "@types/node": "^12.12.21",
"@types/react": "^16.9.16", "@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4", "@types/react-dom": "^16.9.4",
"typescript": "3.7.3" "typescript": "3.9.7"
}, },
"license": "ISC" "license": "ISC"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment