FoundKey/.woodpecker/build.yml
Johann150 a10b8875d9
run CI on pushes to main
Since PRs seem to be much rarer than pushes to main, it makes more sense
to do it this way. Perhaps in the future, it would make sense to run it on
all pushes, but the question would be how PRs are handled.
2023-05-07 15:26:14 +02:00

22 lines
373 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1 # CI does not need commit history
recursive: true
pipeline:
install:
when:
branch: main
event: push
image: node:18.6.0
commands:
- yarn install
build:
when:
branch: main
event: push
image: node:18.6.0
commands:
- yarn build