Files
shakespeare/.gitlab-ci.yml
2025-09-22 02:01:59 -05:00

30 lines
397 B
YAML

image: node:22
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