2022-03-21 07:06:59 +01:00
|
|
|
image: node:16.3
|
2021-03-17 03:02:09 +01:00
|
|
|
|
|
|
|
stages:
|
2022-03-21 07:06:59 +01:00
|
|
|
- test
|
|
|
|
- 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:
|
2022-03-21 07:06:59 +01:00
|
|
|
stage: compile
|
|
|
|
script:
|
|
|
|
- yarn install
|
2022-03-21 07:14:53 +01:00
|
|
|
- yarn compile
|
2022-03-21 07:06:59 +01:00
|
|
|
cache:
|
|
|
|
key: ${CI_COMMIT_BRANCH}
|
|
|
|
paths:
|
|
|
|
- node_modules
|