Update ci

This commit is contained in:
Bill 2022-03-21 02:06:59 -04:00
parent 8fdf9fe631
commit 329acddc02
1 changed files with 11 additions and 12 deletions

View File

@ -1,9 +1,8 @@
image: node:15.6
image: node:16.3
stages:
- test
- compile
- test
- compile
ESLinter:
stage: test
@ -16,11 +15,11 @@ ESLinter:
- node_modules
Compile:
stage: compile
script:
- npm i
- npm run compile
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules
stage: compile
script:
- yarn install
- yarnm compile
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules