23 lines
486 B
YAML
23 lines
486 B
YAML
|
steps:
|
||
|
build:
|
||
|
image: node
|
||
|
commands:
|
||
|
- yarn install --frozen-lockfile
|
||
|
- yarn build
|
||
|
when:
|
||
|
event: push
|
||
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
||
|
lint:
|
||
|
image: node
|
||
|
commands:
|
||
|
- yarn lint
|
||
|
when:
|
||
|
event: push
|
||
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|
||
|
test:
|
||
|
image: node
|
||
|
commands:
|
||
|
- yarn test
|
||
|
when:
|
||
|
event: push
|
||
|
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
|