Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/bug-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

- name: Print All Github Environment Variables
run: env

Expand Down
26 changes: 24 additions & 2 deletions .github/workflows/hotfix-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Preparation of node-canvas
run:
- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy

Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/sync-main-to-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,32 @@ jobs:
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install Python distutils (macOS)
if: runner.os == 'macOS'
run: |
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install Python distutils (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-distutils
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install setuptools --break-system-packages

- name: Install native deps for node-canvas (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install pkg-config cairo pango libpng jpeg giflib librsvg

- name: Install native deps for node-canvas (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev pkg-config

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy
Expand Down
Loading