2023-09-09 05:03:30 +00:00
|
|
|
when:
|
|
|
|
- event: [pull_request]
|
|
|
|
- event: push
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
variables:
|
2024-04-01 07:14:37 +00:00
|
|
|
- &node_image 'node:20'
|
2023-09-09 05:03:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
test-build:
|
|
|
|
image: *node_image
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- yarn && yarn build
|