You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
257 B
YAML
19 lines
257 B
YAML
5 years ago
|
image: nodejs-12
|
||
|
|
||
|
matrix:
|
||
|
- env: SCRIPT=build
|
||
|
- env: SCRIPT=test
|
||
|
|
||
|
before_install:
|
||
|
- npm config set spin false
|
||
|
- npm config set progress false
|
||
|
|
||
|
install:
|
||
|
- yarn install
|
||
|
|
||
|
script:
|
||
|
- if [[ "$SCRIPT" ]]; then yarn $SCRIPT; fi
|
||
|
|
||
|
cache:
|
||
|
- node_modules
|