Add tests to CI runner.
This commit is contained in:
parent
e0b65ca061
commit
0522f55f9d
1 changed files with 8 additions and 6 deletions
|
@ -24,12 +24,14 @@ lint:
|
|||
<<: *global_cache
|
||||
policy: pull-push
|
||||
|
||||
# Test:
|
||||
# stage: Test
|
||||
# script:
|
||||
# - npm test
|
||||
# cache:
|
||||
# <<: *global_cache
|
||||
test:
|
||||
stage: test
|
||||
before_script:
|
||||
- npm ci --cache .npm --prefer-offline
|
||||
script:
|
||||
- npm test
|
||||
cache:
|
||||
<<: *global_cache
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
Loading…
Reference in a new issue