File tree Expand file tree Collapse file tree
github-user-contribution-service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v4
1111 - uses : actions/setup-node@v3
1212 with :
1313 cache : yarn
2323 test-action :
2424 runs-on : ubuntu-latest
2525 steps :
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727
2828 - name : update action.yml to use image from local Dockerfile
2929 run : |
5858 test-action-svg-only :
5959 runs-on : ubuntu-latest
6060 steps :
61- - uses : actions/checkout@v3
61+ - uses : actions/checkout@v4
6262 - uses : actions/setup-node@v3
6363 with :
6464 cache : yarn
9898 deploy-ghpages :
9999 runs-on : ubuntu-latest
100100 steps :
101- - uses : actions/checkout@v3
101+ - uses : actions/checkout@v4
102102 - uses : actions/setup-node@v3
103103 with :
104104 cache : yarn
Original file line number Diff line number Diff line change 2121 permissions :
2222 contents : write
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
2525
2626 - uses : docker/setup-qemu-action@v2
2727
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ FROM node:16-slim
2323WORKDIR /action-release
2424
2525RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \
26- && yarn add canvas@2.10 .2 gifsicle@5.3.0 --no-lockfile \
26+ && yarn add canvas@2.11 .2 gifsicle@5.3.0 --no-lockfile \
2727 && rm -r "$YARN_CACHE_FOLDER"
2828
2929COPY --from=builder /app/packages/action/dist/ /action-release/
Original file line number Diff line number Diff line change 66 "repository" : " github:platane/snk" ,
77 "devDependencies" : {
88 "@sucrase/jest-plugin" : " 3.0.0" ,
9- "@types/jest" : " 29.5.3 " ,
9+ "@types/jest" : " 29.5.5 " ,
1010 "@types/node" : " 16.18.38" ,
11- "jest" : " 29.6.1 " ,
11+ "jest" : " 29.7.0 " ,
1212 "prettier" : " 2.8.8" ,
13- "sucrase" : " 3.33 .0" ,
14- "typescript" : " 5.1.6 "
13+ "sucrase" : " 3.34 .0" ,
14+ "typescript" : " 5.2.2 "
1515 },
1616 "workspaces" : [
1717 " packages/**"
Original file line number Diff line number Diff line change 22 "name" : " @snk/action" ,
33 "version" : " 1.0.0" ,
44 "dependencies" : {
5- "@actions/core" : " 1.10.0 " ,
5+ "@actions/core" : " 1.10.1 " ,
66 "@snk/gif-creator" : " 1.0.0" ,
77 "@snk/github-user-contribution" : " 1.0.0" ,
88 "@snk/solver" : " 1.0.0" ,
99 "@snk/svg-creator" : " 1.0.0" ,
1010 "@snk/types" : " 1.0.0"
1111 },
1212 "devDependencies" : {
13- "@vercel/ncc" : " 0.36.1 " ,
13+ "@vercel/ncc" : " 0.38.0 " ,
1414 "dotenv" : " 16.3.1"
1515 },
1616 "scripts" : {
Original file line number Diff line number Diff line change 1515 "html-webpack-plugin" : " 5.5.3" ,
1616 "ts-loader" : " 9.4.4" ,
1717 "ts-node" : " 10.9.1" ,
18- "webpack" : " 5.88.1 " ,
18+ "webpack" : " 5.88.2 " ,
1919 "webpack-cli" : " 5.1.4" ,
2020 "webpack-dev-server" : " 4.15.1"
2121 },
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const drawWorld = (
6666} ;
6767
6868export const drawLerpWorld = (
69- ctx : CanvasRenderingContext2D ,
69+ ctx : CanvasRenderingContext2D | CanvasRenderingContext2D ,
7070 grid : Grid ,
7171 cells : Point [ ] | null ,
7272 snake0 : Snake ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const createGif = async (
4343 const { width, height } = getCanvasWorldSize ( grid0 , drawOptions ) ;
4444
4545 const canvas = createCanvas ( width , height ) ;
46- const ctx = canvas . getContext ( "2d" ) ! ;
46+ const ctx = canvas . getContext ( "2d" ) as any as CanvasRenderingContext2D ;
4747
4848 const grid = copyGrid ( grid0 ) ;
4949 const stack : Color [ ] = [ ] ;
Original file line number Diff line number Diff line change 44 "dependencies" : {
55 "@snk/draw" : " 1.0.0" ,
66 "@snk/solver" : " 1.0.0" ,
7- "canvas" : " 2.10 .2" ,
7+ "canvas" : " 2.11 .2" ,
88 "gif-encoder-2" : " 1.0.5" ,
99 "gifsicle" : " 5.3.0" ,
1010 "tmp" : " 0.2.1"
1111 },
1212 "devDependencies" : {
1313 "@types/gifsicle" : " 5.2.0" ,
14- "@types/tmp" : " 0.2.3 " ,
15- "@vercel/ncc" : " 0.36.1 "
14+ "@types/tmp" : " 0.2.4 " ,
15+ "@vercel/ncc" : " 0.38.0 "
1616 },
1717 "scripts" : {
1818 "benchmark" : " ncc run __tests__/benchmark.ts --quiet"
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "dependencies" : {
55 "@snk/github-user-contribution" : " 1.0.0" ,
6- "@vercel/node" : " 2.15.5 "
6+ "@vercel/node" : " 3.0.6 "
77 }
88}
You can’t perform that action at this time.
0 commit comments