16 lines
233 B
YAML
16 lines
233 B
YAML
|
when:
|
||
|
- event: [pull_request]
|
||
|
- event: push
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||
|
|
||
|
variables:
|
||
|
- &node_image 'node:18'
|
||
|
|
||
|
steps:
|
||
|
test-build:
|
||
|
image: *node_image
|
||
|
pull: true
|
||
|
commands:
|
||
|
- yarn && yarn build
|