Skip to content

Commit

Permalink
update toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jan 21, 2024
1 parent e0b9b68 commit 99dc5fb
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 108 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
run: ${{ matrix.settings.build }}

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_NAME }}.*.node
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
run: yarn install --immutable --mode=skip-build

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
path: .
Expand All @@ -265,7 +265,7 @@ jobs:

- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-${{ matrix.settings.target }}-${{ matrix.node }}
path: __test__/failure/**
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
run: yarn install --immutable --mode=skip-build

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-gnu
path: .
Expand All @@ -316,7 +316,7 @@ jobs:

- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-x86_64-unknown-linux-gnu-${{ matrix.node }}
path: __test__/failure/**
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
yarn install --immutable --mode=skip-build
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-musl
path: .
Expand All @@ -369,7 +369,7 @@ jobs:

- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-x86_64-unknown-linux-musl-${{ matrix.node }}
path: __test__/failure/**
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
out-file-path: __test__/fonts/

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-gnu
path: .
Expand Down Expand Up @@ -430,7 +430,7 @@ jobs:
- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-aarch64-unknown-linux-gnu-${{ matrix.node }}
path: __test__/failure/**
Expand All @@ -455,7 +455,7 @@ jobs:
out-file-path: __test__/fonts/

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-musl
path: .
Expand Down Expand Up @@ -488,7 +488,7 @@ jobs:
- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-aarch64-unknown-linux-musl-lts
path: __test__/failure/**
Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
out-file-path: __test__/fonts/

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-armv7-unknown-linux-gnueabihf
path: .
Expand Down Expand Up @@ -549,7 +549,7 @@ jobs:
- name: Test failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: failure-images-armv7-unknown-linux-gnueabihf-${{ matrix.node }}
path: __test__/failure/**
Expand Down Expand Up @@ -580,7 +580,7 @@ jobs:
run: yarn install --immutable --mode=skip-build

- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cargo-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:

jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: stable - macOS - cargo - test
runs-on: macos-latest

Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,37 +67,37 @@
"@jimp/custom": "^0.22.10",
"@jimp/jpeg": "^0.22.10",
"@jimp/png": "^0.22.10",
"@napi-rs/cli": "^2.16.4",
"@napi-rs/cli": "^2.18.0",
"@octokit/rest": "^20.0.2",
"@swc-node/register": "^1.6.8",
"@swc/core": "^1.3.95",
"@swc/core": "^1.3.105",
"@taplo/cli": "^0.5.2",
"@types/lodash": "^4.14.200",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"ava": "^6.0.0",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"ava": "^6.0.1",
"benny": "^3.7.1",
"canvas": "^2.11.2",
"canvaskit-wasm": "^0.39.1",
"colorette": "^2.0.20",
"conventional-changelog-cli": "^4.1.0",
"echarts": "^5.4.3",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-sonarjs": "^0.23.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"lint-staged": "^15.2.0",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"png.js": "^0.2.1",
"prettier": "^3.0.3",
"prettier": "^3.2.4",
"pretty-bytes": "^6.1.1",
"skia-canvas": "^1.0.1",
"table": "^6.8.1",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"lint-staged": {
"*.@(js|ts|tsx|yml|yaml|md|json|html)": [
Expand Down
Loading

1 comment on commit 99dc5fb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 99dc5fb Previous: a46682a Ratio
Draw house#skia-canvas 29.6 ops/sec (±0.24%) 29.4 ops/sec (±0.75%) 0.99
Draw house#node-canvas 38.2 ops/sec (±0.74%) 37.4 ops/sec (±0.82%) 0.98
Draw house#@napi-rs/skia 30.1 ops/sec (±0.61%) 29 ops/sec (±0.35%) 0.96
Draw gradient#skia-canvas 28 ops/sec (±0.23%) 28.5 ops/sec (±0.14%) 1.02
Draw gradient#node-canvas 37 ops/sec (±0.32%) 35.3 ops/sec (±0.66%) 0.95
Draw gradient#@napi-rs/skia 29 ops/sec (±0.43%) 27.8 ops/sec (±1.28%) 0.96

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.