Merge remote-tracking branch 'origin/master' into 007-rollsLib
This commit is contained in:
commit
71a82e94a7
22 changed files with 435 additions and 105 deletions
|
@ -1,7 +1,7 @@
|
|||
image: node:latest
|
||||
|
||||
stages:
|
||||
- mytest
|
||||
- prepare
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
@ -12,17 +12,22 @@ cache: &global_cache
|
|||
- package-lock.json
|
||||
policy: pull
|
||||
paths:
|
||||
- .npm/
|
||||
- node_modules/
|
||||
|
||||
install-dependencies:
|
||||
stage: prepare
|
||||
script:
|
||||
- npm install
|
||||
cache:
|
||||
<<: *global_cache
|
||||
policy: pull-push
|
||||
|
||||
lint:
|
||||
stage: test
|
||||
before_script:
|
||||
- npm ci --cache .npm --prefer-offline
|
||||
script:
|
||||
- npm run lint
|
||||
cache:
|
||||
<<: *global_cache
|
||||
policy: pull-push
|
||||
|
||||
test:
|
||||
stage: test
|
||||
|
@ -35,8 +40,6 @@ test:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
before_script:
|
||||
- npm ci --cache .npm --prefer-offline
|
||||
script:
|
||||
- npm run build
|
||||
cache:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue