Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-dldc committed Aug 4, 2024
1 parent 9412e33 commit 0614271
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
with:
deno-version: v1.x # Run with latest stable Deno.

- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y -q --no-install-recommends libfontconfig1
- run: deno task check

- run: npx jsr publish
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"@std/path": "jsr:@std/path@^1.0.2"
},
"tasks": {
"test:run": "deno test -A --allow-ffi --unstable-ffi",
"test:watch": "deno test -A --allow-ffi --unstable-ffi --watch",
"test:run": "deno test -A --unstable-ffi",
"test:watch": "deno test -A --unstable-ffi --watch",
"bump": "deno run -A jsr:@mys/bump@1",
"update": "deno run --allow-read=. --allow-write=. --allow-net https://deno.land/x/[email protected]/main.ts *.ts deno.json",
"check": "deno fmt --check . && deno lint . && deno task test:run"
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export async function matchCanvasImage(
fileName: string,
config: CanvasImageConfig,
) {
const data = await canvasImage(
const data = canvasImage(
spring,
fileName,
config,
Expand Down

0 comments on commit 0614271

Please sign in to comment.