nitro-renderer/.gitlab-ci.yml

27 lines
404 B
YAML
Raw Normal View History

2021-03-17 03:02:09 +01:00
image: node:15.6
stages:
- test
2021-07-27 23:08:18 +02:00
- compile
2021-03-17 03:02:09 +01:00
ESLinter:
stage: test
script:
- npm i
- node ./node_modules/eslint/bin/eslint.js src/
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules
2021-07-27 23:08:18 +02:00
Compile:
stage: compile
script:
- npm i
- npm run compile
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules