Skip to content

Use compat to get around wasm weirdness #20

Use compat to get around wasm weirdness

Use compat to get around wasm weirdness #20

Triggered via push September 23, 2024 15:25
Status Failure
Total duration 31s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 12 warnings
build: src/game.ts#L14
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/mixins/bodyWireframe..ts#L3
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/overlay.ts#L3
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/terrain/index.ts#L1
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/utils/index.ts#L1
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/weapons/grenade.ts#L7
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/world.ts#L4
Cannot find module '@dimforge/rapier2d' or its corresponding type declarations.
build: src/world.ts#L46
Parameter 'collider1' implicitly has an 'any' type.
build: src/world.ts#L46
Parameter 'collider2' implicitly has an 'any' type.
build: src/world.ts#L46
Parameter 'started' implicitly has an 'any' type.
lint: src/entities/phys/testDummy.ts#L36
Type boolean trivially inferred from a boolean literal, remove type annotation
lint: src/entities/phys/testDummy.ts#L37
Type boolean trivially inferred from a boolean literal, remove type annotation
lint: src/overlay.ts#L72
'buffers' is never reassigned. Use 'const' instead
lint: src/overlay.ts#L73
'vtx' is never reassigned. Use 'const' instead
lint: src/overlay.ts#L74
'cls' is never reassigned. Use 'const' instead
lint: src/utils/coodinate.ts#L44
All screenX signatures should be adjacent
lint: src/utils/coodinate.ts#L48
All screenY signatures should be adjacent
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#L249
'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/physicsEntity.ts#L8
'ShapeContact' is defined but never used
lint: src/entities/phys/testDummy.ts#L1
'sortMixin' is defined but never used
lint: src/entities/phys/timedExplosive.ts#L2
'BitmapTerrain' is defined but never used