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
303bc0f9
Unverified
Commit
303bc0f9
authored
Dec 04, 2021
by
JJ Kasper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow publishing on v11-patch branch
parent
f59c82b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
2 deletions
+82
-2
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+79
-0
lerna.json
lerna.json
+2
-1
package.json
package.json
+1
-1
No files found.
.github/workflows/build_test_deploy.yml
View file @
303bc0f9
...
@@ -25,6 +25,12 @@ jobs:
...
@@ -25,6 +25,12 @@ jobs:
outputs
:
outputs
:
docsChange
:
${{ steps.docs-change.outputs.DOCS_CHANGE }}
docsChange
:
${{ steps.docs-change.outputs.DOCS_CHANGE }}
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
with
:
with
:
fetch-depth
:
25
fetch-depth
:
25
...
@@ -50,11 +56,18 @@ jobs:
...
@@ -50,11 +56,18 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
build
needs
:
build
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
id
:
restore-build
id
:
restore-build
with
:
with
:
path
:
./*
path
:
./*
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
run
:
./scripts/check-manifests.js
-
run
:
./scripts/check-manifests.js
-
run
:
yarn lint
-
run
:
yarn lint
...
@@ -65,6 +78,12 @@ jobs:
...
@@ -65,6 +78,12 @@ jobs:
env
:
env
:
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TELEMETRY_DISABLED
:
1
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
run
:
sudo ethtool -K eth0 tx off rx off
run
:
sudo ethtool -K eth0 tx off rx off
...
@@ -97,6 +116,12 @@ jobs:
...
@@ -97,6 +116,12 @@ jobs:
NEXT_TEST_JOB
:
1
NEXT_TEST_JOB
:
1
HEADLESS
:
true
HEADLESS
:
true
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
id
:
restore-build
id
:
restore-build
...
@@ -120,6 +145,12 @@ jobs:
...
@@ -120,6 +145,12 @@ jobs:
matrix
:
matrix
:
group
:
[
1
,
2
,
3
,
4
,
5
,
6
]
group
:
[
1
,
2
,
3
,
4
,
5
,
6
]
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
run
:
echo ${{needs.build.outputs.docsChange}}
-
run
:
echo ${{needs.build.outputs.docsChange}}
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
...
@@ -150,6 +181,12 @@ jobs:
...
@@ -150,6 +181,12 @@ jobs:
HEADLESS
:
true
HEADLESS
:
true
TEST_ELECTRON
:
1
TEST_ELECTRON
:
1
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
id
:
restore-build
id
:
restore-build
...
@@ -174,6 +211,12 @@ jobs:
...
@@ -174,6 +211,12 @@ jobs:
NODE_OPTIONS
:
'
--unhandled-rejections=strict'
NODE_OPTIONS
:
'
--unhandled-rejections=strict'
YARN_COMPRESSION_LEVEL
:
'
0'
YARN_COMPRESSION_LEVEL
:
'
0'
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
id
:
restore-build
id
:
restore-build
...
@@ -202,6 +245,12 @@ jobs:
...
@@ -202,6 +245,12 @@ jobs:
NEXT_PRIVATE_TEST_WEBPACK4_MODE
:
1
NEXT_PRIVATE_TEST_WEBPACK4_MODE
:
1
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
run
:
sudo ethtool -K eth0 tx off rx off
run
:
sudo ethtool -K eth0 tx off rx off
...
@@ -225,6 +274,12 @@ jobs:
...
@@ -225,6 +274,12 @@ jobs:
BROWSER_NAME
:
'
firefox'
BROWSER_NAME
:
'
firefox'
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TELEMETRY_DISABLED
:
1
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
id
:
restore-build
id
:
restore-build
...
@@ -246,6 +301,12 @@ jobs:
...
@@ -246,6 +301,12 @@ jobs:
BROWSERSTACK_USERNAME
:
${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_USERNAME
:
${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY
:
${{ secrets.BROWSERSTACK_ACCESS_KEY }}
BROWSERSTACK_ACCESS_KEY
:
${{ secrets.BROWSERSTACK_ACCESS_KEY }}
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
run
:
sudo ethtool -K eth0 tx off rx off
run
:
sudo ethtool -K eth0 tx off rx off
...
@@ -272,6 +333,12 @@ jobs:
...
@@ -272,6 +333,12 @@ jobs:
BROWSERSTACK_USERNAME
:
${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_USERNAME
:
${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY
:
${{ secrets.BROWSERSTACK_ACCESS_KEY }}
BROWSERSTACK_ACCESS_KEY
:
${{ secrets.BROWSERSTACK_ACCESS_KEY }}
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
run
:
sudo ethtool -K eth0 tx off rx off
run
:
sudo ethtool -K eth0 tx off rx off
...
@@ -293,6 +360,12 @@ jobs:
...
@@ -293,6 +360,12 @@ jobs:
env
:
env
:
NPM_TOKEN
:
${{ secrets.NPM_TOKEN }}
NPM_TOKEN
:
${{ secrets.NPM_TOKEN }}
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
run
:
sudo ethtool -K eth0 tx off rx off
run
:
sudo ethtool -K eth0 tx off rx off
...
@@ -315,6 +388,12 @@ jobs:
...
@@ -315,6 +388,12 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
[
publishRelease
]
needs
:
[
publishRelease
]
steps
:
steps
:
-
name
:
Setup node
uses
:
actions/setup-node@v2
if
:
${{ steps.docs-change.outputs.docsChange != 'docs only change' }}
with
:
node-version
:
14
-
uses
:
actions/cache@v2
-
uses
:
actions/cache@v2
id
:
restore-build
id
:
restore-build
with
:
with
:
...
...
lerna.json
View file @
303bc0f9
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
"npmClient"
:
"npm"
,
"npmClient"
:
"npm"
,
"allowBranch"
:
[
"allowBranch"
:
[
"master"
,
"master"
,
"canary"
"canary"
,
"v11-patch"
],
],
"registry"
:
"https://registry.npmjs.org/"
"registry"
:
"https://registry.npmjs.org/"
}
}
...
...
package.json
View file @
303bc0f9
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
"types"
:
"lerna run types --stream"
,
"types"
:
"lerna run types --stream"
,
"typescript"
:
"lerna run typescript"
,
"typescript"
:
"lerna run typescript"
,
"prepublish"
:
"lerna run prepublish"
,
"prepublish"
:
"lerna run prepublish"
,
"publish-canary"
:
"git
checkout canary && git
pull && lerna version prerelease --preid canary --force-publish && release --pre --skip-questions"
,
"publish-canary"
:
"git pull && lerna version prerelease --preid canary --force-publish && release --pre --skip-questions"
,
"publish-stable"
:
"lerna version --force-publish"
,
"publish-stable"
:
"lerna version --force-publish"
,
"lint-staged"
:
"lint-staged"
,
"lint-staged"
:
"lint-staged"
,
"next-with-deps"
:
"./scripts/next-with-deps.sh"
,
"next-with-deps"
:
"./scripts/next-with-deps.sh"
,
...
...
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