23 lines
467 B
YAML
23 lines
467 B
YAML
steps:
|
|
build:
|
|
image: node
|
|
commands:
|
|
- npm ci
|
|
- npm run build
|
|
when:
|
|
event: push
|
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
|
lint:
|
|
image: node
|
|
commands:
|
|
- npm run lint
|
|
when:
|
|
event: push
|
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
|
test:
|
|
image: node
|
|
commands:
|
|
- npm test
|
|
when:
|
|
event: push
|
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ] |