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
9688b06c
Unverified
Commit
9688b06c
authored
Dec 16, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Dec 16, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci] Only install Playwright dependencies for used browser (#87002)
Installs much less via apt.
parent
266f2c7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
build_and_test.yml
.github/workflows/build_and_test.yml
+1
-0
build_reusable.yml
.github/workflows/build_reusable.yml
+6
-4
No files found.
.github/workflows/build_and_test.yml
View file @
9688b06c
...
@@ -902,6 +902,7 @@ jobs:
...
@@ -902,6 +902,7 @@ jobs:
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
browser
:
'
firefox
webkit'
afterBuild
:
|
afterBuild
:
|
pnpm playwright install
pnpm playwright install
...
...
.github/workflows/build_reusable.yml
View file @
9688b06c
...
@@ -80,6 +80,11 @@ on:
...
@@ -80,6 +80,11 @@ on:
type
:
string
type
:
string
default
:
'
'
default
:
'
'
browser
:
description
:
'
Browser
to
use
for
tests'
required
:
false
type
:
string
default
:
'
chromium'
env
:
env
:
NAPI_CLI_VERSION
:
2.18.4
NAPI_CLI_VERSION
:
2.18.4
TURBO_VERSION
:
2.5.5
TURBO_VERSION
:
2.5.5
...
@@ -266,10 +271,7 @@ jobs:
...
@@ -266,10 +271,7 @@ jobs:
run
:
pnpm install
run
:
pnpm install
if
:
${{ inputs.skipInstallBuild != 'yes' }}
if
:
${{ inputs.skipInstallBuild != 'yes' }}
-
run
:
pnpm playwright install-deps
-
run
:
pnpm playwright install --with-deps ${{ inputs.browser }}
if
:
${{ inputs.skipInstallBuild != 'yes' }}
-
run
:
pnpm playwright install chromium
if
:
${{ inputs.skipInstallBuild != 'yes' }}
if
:
${{ inputs.skipInstallBuild != 'yes' }}
-
run
:
pnpm dlx turbo@${TURBO_VERSION} run get-test-timings -- --build ${{ github.sha }}
-
run
:
pnpm dlx turbo@${TURBO_VERSION} run get-test-timings -- --build ${{ github.sha }}
...
...
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