Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
2e6bc8eb
Unverified
Commit
2e6bc8eb
authored
Aug 17, 2020
by
Kristoffer K
Committed by
GitHub
Aug 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: add pnp test (#16255)
parent
aa4b87e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+20
-1
.gitignore
.gitignore
+1
-0
package.json
examples/with-typescript/package.json
+1
-1
No files found.
.github/workflows/build_test_deploy.yml
View file @
2e6bc8eb
...
...
@@ -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
...
...
.gitignore
View file @
2e6bc8eb
...
...
@@ -21,6 +21,7 @@ coverage
test/**/out*
test/**/next-env.d.ts
.DS_Store
/e2e-tests
# Editors
**/.idea
...
...
examples/with-typescript/package.json
View file @
2e6bc8eb
...
...
@@ -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"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment