40 lines
641 B
YAML
40 lines
641 B
YAML
|
|
services:
|
||
|
|
ci:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm run ci
|
||
|
|
environment:
|
||
|
|
- NODE_ENV=test
|
||
|
|
- CI=true
|
||
|
|
|
||
|
|
lint:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm run lint
|
||
|
|
|
||
|
|
test:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm run test:all
|
||
|
|
|
||
|
|
test-jest:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm test
|
||
|
|
|
||
|
|
test-node:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm run test:node
|
||
|
|
|
||
|
|
test-legacy:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
command: npm run test:legacy
|