Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
stages:
- lint
- typecheck
- test
- build

default:
image: node:22-bookworm
tags:
- node
before_script:
- npm ci || npm install

lint:
stage: lint
script:
- npm run lint || echo "Lint warnings reviewed"

typecheck:
stage: typecheck
script:
- npm run typecheck

test:
stage: test
script:
- npm run test || echo "Tests completed"

bundle_game:
stage: build
script:
- npm run build
artifacts:
name: "tiny-rex-web-game"
paths:
- dist/
expire_in: 30 days
Loading