Files
shakespeare/.gitlab-ci.yml
2026-01-21 13:54:24 -06:00

30 lines
397 B
YAML

image: node:25
default:
interruptible: true
timeout: 1 minute
stages:
- test
- deploy
test:
stage: test
script:
- npm run typecheck
- npm run build
- npm run test
pages:
stage: deploy
script:
- npm run build
- rm -rf public
- mv dist public
artifacts:
paths:
- public
only:
variables:
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME