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
25371dd1
Unverified
Commit
25371dd1
authored
Dec 02, 2021
by
JJ Kasper
Committed by
GitHub
Dec 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lock node version for CI (#32057)
parent
03317c75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
0 deletions
+84
-0
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+84
-0
No files found.
.github/workflows/build_test_deploy.yml
View file @
25371dd1
...
@@ -28,6 +28,12 @@ jobs:
...
@@ -28,6 +28,12 @@ jobs:
docsChange
:
${{ steps.docs-change.outputs.DOCS_CHANGE }}
docsChange
:
${{ steps.docs-change.outputs.DOCS_CHANGE }}
isRelease
:
${{ steps.check-release.outputs.IS_RELEASE }}
isRelease
:
${{ steps.check-release.outputs.IS_RELEASE }}
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
...
@@ -62,6 +68,12 @@ jobs:
...
@@ -62,6 +68,12 @@ 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
:
...
@@ -77,6 +89,12 @@ jobs:
...
@@ -77,6 +89,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
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
...
@@ -115,6 +133,12 @@ jobs:
...
@@ -115,6 +133,12 @@ jobs:
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TEST_JOB
:
1
NEXT_TEST_JOB
:
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
...
@@ -139,6 +163,12 @@ jobs:
...
@@ -139,6 +163,12 @@ jobs:
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TEST_JOB
:
1
NEXT_TEST_JOB
:
1
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
...
@@ -187,6 +217,12 @@ jobs:
...
@@ -187,6 +217,12 @@ jobs:
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TELEMETRY_DISABLED
:
1
NEXT_TEST_JOB
:
1
NEXT_TEST_JOB
:
1
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
...
@@ -230,6 +266,12 @@ jobs:
...
@@ -230,6 +266,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
...
@@ -274,6 +316,12 @@ jobs:
...
@@ -274,6 +316,12 @@ jobs:
NEXT_TEST_JOB
:
1
NEXT_TEST_JOB
:
1
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
...
@@ -300,6 +348,12 @@ jobs:
...
@@ -300,6 +348,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
...
@@ -342,6 +396,12 @@ jobs:
...
@@ -342,6 +396,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
...
@@ -370,6 +430,12 @@ jobs:
...
@@ -370,6 +430,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
...
@@ -408,6 +474,12 @@ jobs:
...
@@ -408,6 +474,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
...
@@ -479,6 +551,12 @@ jobs:
...
@@ -479,6 +551,12 @@ jobs:
env
:
env
:
NPM_TOKEN
:
${{ secrets.NPM_TOKEN_ELEVATED }}
NPM_TOKEN
:
${{ secrets.NPM_TOKEN_ELEVATED }}
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
...
@@ -508,6 +586,12 @@ jobs:
...
@@ -508,6 +586,12 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
[
publishRelease
,
build-native-dev
]
needs
:
[
publishRelease
,
build-native-dev
]
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
:
...
...
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