Skip to content

Commit d5ef4e3

Browse files
committed
Merge remote-tracking branch 'origin/master' into dependabot/npm_and_yarn/npm_and_yarn-8121e94463
2 parents de73d87 + c398751 commit d5ef4e3

98 files changed

Lines changed: 1792 additions & 1649 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 0 additions & 606 deletions
This file was deleted.

.circleci/download_google_fonts.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

.circleci/env_image.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Run with Xvfb'
2+
description: 'Run a command under Xvfb with a preconfigured screen size'
3+
4+
inputs:
5+
run:
6+
description: 'Command to execute'
7+
required: true
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" ${{ inputs.run }}
13+
shell: bash
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Setup Chrome'
2+
description: 'Install Chrome and set CHROME_BIN environment variable'
3+
4+
inputs:
5+
chrome-version:
6+
description: 'Chrome version to install'
7+
default: '136.0.7103.113'
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- uses: browser-actions/setup-chrome@4f8e94349a351df0f048634f25fec36c3c91eded # v2
13+
id: setup-chrome
14+
with:
15+
chrome-version: ${{ inputs.chrome-version }}
16+
17+
- name: Set Chrome binary path
18+
run: echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV
19+
shell: bash
20+
21+
- name: Verify Chrome version
22+
run: |
23+
echo "Chrome path: $CHROME_BIN"
24+
$CHROME_BIN --version
25+
shell: bash
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'Setup Image Environment'
2+
description: 'Setup Python, uv, and install Kaleido/plotly with required fonts'
3+
4+
inputs:
5+
python-version:
6+
description: 'Python version to use'
7+
default: '3.12'
8+
uv-version:
9+
description: 'uv version to use'
10+
default: '0.11.2'
11+
12+
runs:
13+
using: 'composite'
14+
steps:
15+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
16+
with:
17+
python-version: ${{ inputs.python-version }}
18+
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
21+
with:
22+
version: ${{ inputs.uv-version }}
23+
24+
- name: Cache apt font packages
25+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
26+
id: apt-cache
27+
with:
28+
path: ~/.cache/apt-fonts
29+
key: apt-fonts-${{ runner.os }}-${{ hashFiles('.github/scripts/env_image.sh') }}
30+
31+
- name: Install Kaleido, plotly.io and required fonts
32+
run: .github/scripts/env_image.sh
33+
shell: bash
34+
env:
35+
APT_CACHE_HIT: ${{ steps.apt-cache.outputs.cache-hit }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Setup Workspace'
2+
description: 'Setup Node.js, install dependencies, and download build artifacts'
3+
4+
inputs:
5+
node-version:
6+
description: 'Node.js version to use'
7+
default: '18'
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
13+
with:
14+
node-version: ${{ inputs.node-version }}
15+
cache: 'npm'
16+
17+
- name: Install dependencies
18+
run: npm ci
19+
shell: bash
20+
env:
21+
NODE_OPTIONS: '--max-old-space-size=4096'
22+
23+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
24+
with:
25+
name: build-output
26+
path: .

.circleci/fonts/truetype/googleFonts/GravitasOne_400Regular.ttf renamed to .github/fonts/GravitasOne_400Regular.ttf

File renamed without changes.

.circleci/fonts/truetype/googleFonts/NotoSans-Bold.ttf renamed to .github/fonts/NotoSans-Bold.ttf

File renamed without changes.

.circleci/fonts/truetype/googleFonts/NotoSans-Italic.ttf renamed to .github/fonts/NotoSans-Italic.ttf

File renamed without changes.

0 commit comments

Comments
 (0)