未验证 提交 2e6bc8eb 编写于 作者: K Kristoffer K 提交者: GitHub

ci: add pnp test (#16255)

上级 aa4b87e3
......@@ -70,10 +70,29 @@ jobs:
- 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:
name: thank you, next
runs-on: ubuntu-latest
needs: [lint, checkPrecompiled, testAll]
needs: [lint, checkPrecompiled, testAll, testYarnPnP]
steps:
- run: exit 0
......
......@@ -21,6 +21,7 @@ coverage
test/**/out*
test/**/next-env.d.ts
.DS_Store
/e2e-tests
# Editors
**/.idea
......
......@@ -16,7 +16,7 @@
"@types/node": "^12.12.21",
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"typescript": "3.7.3"
"typescript": "3.9.7"
},
"license": "ISC"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册