nitro-renderer/.gitlab-ci.yml
2021-03-16 22:02:09 -04:00

31 lines
451 B
YAML

image: node:15.6
stages:
- test
- build
ESLinter:
stage: test
script:
- npm i
- node ./node_modules/eslint/bin/eslint.js src/
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules
Build Nitro:
stage: build
script:
- npm i
- npm run build-prod
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules
artifacts:
expire_in: 2 weeks
paths:
- dist/*