Skip to content

Basic rapier support with terrain and grenade #16

Basic rapier support with terrain and grenade

Basic rapier support with terrain and grenade #16

Triggered via push September 22, 2024 23:08
Status Failure
Total duration 27s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 12 warnings
build: src/loadSvg.ts#L1
Could not find a declaration file for module 'matter-js'. '/home/runner/work/wormgine/wormgine/node_modules/matter-js/build/matter.js' implicitly has an 'any' type.
build: src/scenarios/testingGround.ts#L27
Cannot find name 'Worm'. Did you mean 'worm'?
build: src/scenarios/testingGround.ts#L27
Parameter 'worm' implicitly has an 'any' type.
build: src/scenarios/testingGround.ts#L27
Parameter 'definition' implicitly has an 'any' type.
build: src/scenarios/testingGround.ts#L27
Parameter 'duration' implicitly has an 'any' type.
build: src/weapons/grenade.ts#L4
Could not find a declaration file for module 'matter-js'. '/home/runner/work/wormgine/wormgine/node_modules/matter-js/build/matter.js' implicitly has an 'any' type.
build: src/weapons/grenade.ts#L5
File '/home/runner/work/wormgine/wormgine/src/entities/phys/worm.ts' is not a module.
build: src/weapons/grenade.ts#L16
Expected 4 arguments, but got 5.
build: src/weapons/weapon.ts#L3
Could not find a declaration file for module 'matter-js'. '/home/runner/work/wormgine/wormgine/node_modules/matter-js/build/matter.js' implicitly has an 'any' type.
build: src/weapons/weapon.ts#L4
File '/home/runner/work/wormgine/wormgine/src/entities/phys/worm.ts' is not a module.
lint: src/overlay.ts#L62
'buffers' is never reassigned. Use 'const' instead
lint: src/overlay.ts#L63
'vtx' is never reassigned. Use 'const' instead
lint: src/overlay.ts#L64
'cls' is never reassigned. Use 'const' instead
lint
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/components/app.tsx#L17
'v' is defined but never used
lint: src/components/ingame-view.tsx#L30
Unexpected any. Specify a different type
lint: src/entities/bitmapTerrain.ts#L6
'ActiveEvents' is defined but never used
lint: src/entities/bitmapTerrain.ts#L6
'Cuboid' is defined but never used
lint: src/entities/bitmapTerrain.ts#L254
'radius' is defined but never used
lint: src/entities/entity.ts#L1
'ShapeContact' is defined but never used
lint: src/entities/entity.ts#L2
'Point' is defined but never used
lint: src/entities/phys/grenade.ts#L7
'ShapeContact' is defined but never used
lint: src/entities/phys/physicsEntity.ts#L8
'ShapeContact' is defined but never used
lint: src/entities/phys/timedExplosive.ts#L7
'ShapeContact' is defined but never used