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
f85340f5
Unverified
Commit
f85340f5
authored
Jan 12, 2023
by
JJ Kasper
Committed by
GitHub
Jan 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update release stats for newer pnpm version (#44828)
parent
a0b45c33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.js
.github/actions/next-stats-action/src/index.js
+4
-1
No files found.
.github/actions/next-stats-action/src/index.js
View file @
f85340f5
...
@@ -110,10 +110,13 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
...
@@ -110,10 +110,13 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
logger
(
`Running initial build for
${
dir
}
`
)
logger
(
`Running initial build for
${
dir
}
`
)
if
(
!
actionInfo
.
skipClone
)
{
if
(
!
actionInfo
.
skipClone
)
{
const
usePnpm
=
await
fs
.
pathExists
(
path
.
join
(
dir
,
'pnpm-lock.yaml'
))
const
usePnpm
=
await
fs
.
pathExists
(
path
.
join
(
dir
,
'pnpm-lock.yaml'
))
let
buildCommand
=
`cd
${
dir
}${
let
buildCommand
=
`cd
${
dir
}${
!
statsConfig
.
skipInitialInstall
!
statsConfig
.
skipInitialInstall
?
usePnpm
?
usePnpm
?
' && pnpm install && pnpm run build'
?
// --no-frozen-lockfile is used here to tolerate lockfile
// changes from merging latest changes
` && pnpm install --no-frozen-lockfile && pnpm run build`
:
' && yarn install --network-timeout 1000000'
:
' && yarn install --network-timeout 1000000'
:
''
:
''
}
`
}
`
...
...
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