Skip to content

Commit

Permalink
use latest canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Nov 25, 2024
1 parent 689f2fe commit a87cef6
Show file tree
Hide file tree
Showing 5 changed files with 429 additions and 440 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
id: package-version
uses: martinbeentjes/[email protected]

- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev

- name: Install
run: npm ci

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev
- run: npm ci
- run: npm run lint
if: '!cancelled()'
Expand Down Expand Up @@ -51,6 +53,8 @@ jobs:
- name: Start display server
run: nohup Xvfb &
echo "DISPLAY=:0" >> $GITHUB_ENV
- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev
- run: npm ci
- run: npm run test-unit-ci
- name: Upload test results to Codecov
Expand Down Expand Up @@ -80,6 +84,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev
- run: npm ci
- run: npm run build-dist
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -116,6 +122,8 @@ jobs:
- name: install CJK fonts for local ideographs render tests
if: runner.os == 'Linux'
run: sudo apt install fonts-noto-cjk
- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev
- run: npm ci
- name: Start display server
if: runner.os == 'Linux'
Expand Down Expand Up @@ -157,6 +165,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev
- run: npm ci
- run: npm run build-dist
- run: npm run test-build-ci
3 changes: 3 additions & 0 deletions .github/workflows/upload-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Install canvas dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev

- name: Install
run: npm ci

Expand Down
Loading

0 comments on commit a87cef6

Please sign in to comment.