mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 15:40:52 +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:
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user