mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-30 03:00:51 +01:00
Update ci
This commit is contained in:
parent
8fdf9fe631
commit
329acddc02
@ -1,9 +1,8 @@
|
|||||||
image: node:15.6
|
image: node:16.3
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- compile
|
- compile
|
||||||
|
|
||||||
|
|
||||||
ESLinter:
|
ESLinter:
|
||||||
stage: test
|
stage: test
|
||||||
@ -16,11 +15,11 @@ ESLinter:
|
|||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
Compile:
|
Compile:
|
||||||
stage: compile
|
stage: compile
|
||||||
script:
|
script:
|
||||||
- npm i
|
- yarn install
|
||||||
- npm run compile
|
- yarnm compile
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_BRANCH}
|
key: ${CI_COMMIT_BRANCH}
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
Loading…
Reference in New Issue
Block a user