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
cefa93ca
Unverified
Commit
cefa93ca
authored
Feb 03, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Feb 03, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix corepack keys (#75600)
parent
58e1bd29
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
79 additions
and
19 deletions
+79
-19
Dockerfile
.devcontainer/Dockerfile
+1
-0
Dockerfile
.github/actions/next-stats-action/Dockerfile
+1
-0
build_and_deploy.yml
.github/workflows/build_and_deploy.yml
+20
-5
build_and_test.yml
.github/workflows/build_and_test.yml
+4
-1
code_freeze.yml
.github/workflows/code_freeze.yml
+4
-1
issue_wrong_template.yml
.github/workflows/issue_wrong_template.yml
+4
-1
popular.yml
.github/workflows/popular.yml
+4
-1
rspack-update-tests-manifest.yml
.github/workflows/rspack-update-tests-manifest.yml
+8
-2
setup-nextjs-build.yml
.github/workflows/setup-nextjs-build.yml
+1
-0
test_e2e_deploy_release.yml
.github/workflows/test_e2e_deploy_release.yml
+3
-1
test_examples.yml
.github/workflows/test_examples.yml
+4
-1
triage_with_ai.yml
.github/workflows/triage_with_ai.yml
+4
-1
trigger_release.yml
.github/workflows/trigger_release.yml
+5
-1
turbopack-update-tests-manifest.yml
.github/workflows/turbopack-update-tests-manifest.yml
+4
-1
turbopack-upload-tests-manifest.yml
.github/workflows/turbopack-upload-tests-manifest.yml
+4
-1
update_fonts_data.yml
.github/workflows/update_fonts_data.yml
+4
-1
update_react.yml
.github/workflows/update_react.yml
+4
-1
No files found.
.devcontainer/Dockerfile
View file @
cefa93ca
...
@@ -28,4 +28,5 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
...
@@ -28,4 +28,5 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# RUN su node -c "npm install -g <your-package-list-here>"
# RUN su node -c "npm install -g <your-package-list-here>"
# Enable pnpm
# Enable pnpm
RUN
npm i
-g
corepack@latest
RUN
corepack
enable
pnpm
RUN
corepack
enable
pnpm
\ No newline at end of file
.github/actions/next-stats-action/Dockerfile
View file @
cefa93ca
...
@@ -12,6 +12,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs
...
@@ -12,6 +12,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs
RUN
ln
$(
which python3
)
/usr/bin/python
RUN
ln
$(
which python3
)
/usr/bin/python
RUN
curl
-sfLS
https://install-node.vercel.app/v18.18.2 | bash
-s
--
-f
RUN
curl
-sfLS
https://install-node.vercel.app/v18.18.2 | bash
-s
--
-f
RUN
npm i
-g
corepack@0.31
RUN
corepack
enable
RUN
corepack
enable
WORKDIR
/next-stats
WORKDIR
/next-stats
...
...
.github/workflows/build_and_deploy.yml
View file @
cefa93ca
...
@@ -29,7 +29,10 @@ jobs:
...
@@ -29,7 +29,10 @@ jobs:
with
:
with
:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Determine deploy target
-
name
:
Determine deploy target
# 'force-preview' performs a full preview build but only if acknowledged i.e. workflow_dispatch
# 'force-preview' performs a full preview build but only if acknowledged i.e. workflow_dispatch
# 'automated-preview' for pushes on branches other than 'canary' for integration testing.
# 'automated-preview' for pushes on branches other than 'canary' for integration testing.
...
@@ -70,7 +73,10 @@ jobs:
...
@@ -70,7 +73,10 @@ jobs:
with
:
with
:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
with
:
with
:
...
@@ -458,7 +464,10 @@ jobs:
...
@@ -458,7 +464,10 @@ jobs:
with
:
with
:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
...
@@ -518,7 +527,10 @@ jobs:
...
@@ -518,7 +527,10 @@ jobs:
with
:
with
:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
...
@@ -576,7 +588,10 @@ jobs:
...
@@ -576,7 +588,10 @@ jobs:
with
:
with
:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
uses
:
./.github/actions/setup-rust
-
uses
:
./.github/actions/setup-rust
with
:
with
:
...
...
.github/workflows/build_and_test.yml
View file @
cefa93ca
...
@@ -108,7 +108,10 @@ jobs:
...
@@ -108,7 +108,10 @@ jobs:
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
18
node-version
:
18
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
'
Run
link
checker'
-
name
:
'
Run
link
checker'
run
:
node ./.github/actions/validate-docs-links/dist/index.js
run
:
node ./.github/actions/validate-docs-links/dist/index.js
env
:
env
:
...
...
.github/workflows/code_freeze.yml
View file @
cefa93ca
...
@@ -31,7 +31,10 @@ jobs:
...
@@ -31,7 +31,10 @@ jobs:
with
:
with
:
node-version
:
18
node-version
:
18
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
run
:
git clone https://github.com/vercel/next.js.git --depth=1 .
-
run
:
git clone https://github.com/vercel/next.js.git --depth=1 .
...
...
.github/workflows/issue_wrong_template.yml
View file @
cefa93ca
...
@@ -11,7 +11,10 @@ jobs:
...
@@ -11,7 +11,10 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
'
Close
issues
using
the
wrong
issue
template'
-
name
:
'
Close
issues
using
the
wrong
issue
template'
run
:
node ./.github/actions/next-repo-actions/dist/wrong-issue-template/index.js
run
:
node ./.github/actions/next-repo-actions/dist/wrong-issue-template/index.js
env
:
env
:
...
...
.github/workflows/popular.yml
View file @
cefa93ca
...
@@ -12,7 +12,10 @@ jobs:
...
@@ -12,7 +12,10 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
'
Issues:
Send
notification
to
Slack'
-
name
:
'
Issues:
Send
notification
to
Slack'
run
:
node ./.github/actions/next-repo-actions/dist/issues/index.mjs
run
:
node ./.github/actions/next-repo-actions/dist/issues/index.mjs
continue-on-error
:
true
continue-on-error
:
true
...
...
.github/workflows/rspack-update-tests-manifest.yml
View file @
cefa93ca
...
@@ -26,7 +26,10 @@ jobs:
...
@@ -26,7 +26,10 @@ jobs:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
@@ -59,7 +62,10 @@ jobs:
...
@@ -59,7 +62,10 @@ jobs:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
...
.github/workflows/setup-nextjs-build.yml
View file @
cefa93ca
...
@@ -82,6 +82,7 @@ jobs:
...
@@ -82,6 +82,7 @@ jobs:
run
:
|
run
:
|
wget https://github.com/sharkdp/hyperfine/releases/download/v1.16.1/hyperfine_1.16.1_amd64.deb
wget https://github.com/sharkdp/hyperfine/releases/download/v1.16.1/hyperfine_1.16.1_amd64.deb
sudo dpkg -i hyperfine_1.16.1_amd64.deb
sudo dpkg -i hyperfine_1.16.1_amd64.deb
npm i -g corepack@0.31
corepack enable
corepack enable
pnpm install --loglevel error
pnpm install --loglevel error
...
...
.github/workflows/test_e2e_deploy_release.yml
View file @
cefa93ca
...
@@ -25,7 +25,9 @@ jobs:
...
@@ -25,7 +25,9 @@ jobs:
check-latest
:
true
check-latest
:
true
-
name
:
Setup pnpm
-
name
:
Setup pnpm
run
:
corepack enable
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v4
uses
:
actions/checkout@v4
...
...
.github/workflows/test_examples.yml
View file @
cefa93ca
...
@@ -39,7 +39,10 @@ jobs:
...
@@ -39,7 +39,10 @@ jobs:
with
:
with
:
node-version
:
18
node-version
:
18
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
run
:
pnpm install
-
run
:
pnpm install
-
run
:
pnpm build
-
run
:
pnpm build
...
...
.github/workflows/triage_with_ai.yml
View file @
cefa93ca
...
@@ -10,7 +10,10 @@ jobs:
...
@@ -10,7 +10,10 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
'
Send
report
to
Slack
(AI-powered)'
-
name
:
'
Send
report
to
Slack
(AI-powered)'
run
:
node ./.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js
run
:
node ./.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js
env
:
env
:
...
...
.github/workflows/trigger_release.yml
View file @
cefa93ca
...
@@ -82,7 +82,11 @@ jobs:
...
@@ -82,7 +82,11 @@ jobs:
-
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
-
run
:
corepack enable && pnpm --version
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
pnpm --version
-
id
:
get-store-path
-
id
:
get-store-path
run
:
echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
run
:
echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
...
...
.github/workflows/turbopack-update-tests-manifest.yml
View file @
cefa93ca
...
@@ -26,7 +26,10 @@ jobs:
...
@@ -26,7 +26,10 @@ jobs:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
...
.github/workflows/turbopack-upload-tests-manifest.yml
View file @
cefa93ca
...
@@ -27,7 +27,10 @@ jobs:
...
@@ -27,7 +27,10 @@ jobs:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v4
uses
:
actions/checkout@v4
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
...
.github/workflows/update_fonts_data.yml
View file @
cefa93ca
...
@@ -28,7 +28,10 @@ jobs:
...
@@ -28,7 +28,10 @@ jobs:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
...
.github/workflows/update_react.yml
View file @
cefa93ca
...
@@ -39,7 +39,10 @@ jobs:
...
@@ -39,7 +39,10 @@ jobs:
node-version
:
${{ env.NODE_LTS_VERSION }}
node-version
:
${{ env.NODE_LTS_VERSION }}
check-latest
:
true
check-latest
:
true
-
run
:
corepack enable
-
name
:
Setup corepack
run
:
|
npm i -g corepack@0.31
corepack enable
-
name
:
Install dependencies
-
name
:
Install dependencies
shell
:
bash
shell
:
bash
...
...
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