run CI on pushes to main
ci/woodpecker/push/lint-foundkey-js Pipeline failed
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
ci/woodpecker/push/lint-foundkey-js Pipeline failed
Details
ci/woodpecker/push/lint-client Pipeline failed
Details
ci/woodpecker/push/lint-backend Pipeline failed
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/lint-sw Pipeline failed
Details
ci/woodpecker/push/test Pipeline failed
Details
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.
This commit is contained in:
parent
642c8bcca9
commit
a10b8875d9
|
@ -8,15 +8,15 @@ clone:
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
build:
|
build:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn build
|
- yarn build
|
||||||
|
|
|
@ -8,15 +8,15 @@ clone:
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
lint:
|
lint:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn workspace backend run lint
|
- yarn workspace backend run lint
|
||||||
|
|
|
@ -8,15 +8,15 @@ clone:
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
lint:
|
lint:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn workspace client run lint
|
- yarn workspace client run lint
|
||||||
|
|
|
@ -8,15 +8,15 @@ clone:
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
lint:
|
lint:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn workspace foundkey-js run lint
|
- yarn workspace foundkey-js run lint
|
||||||
|
|
|
@ -8,15 +8,15 @@ clone:
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
lint:
|
lint:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn workspace sw run lint
|
- yarn workspace sw run lint
|
||||||
|
|
|
@ -5,11 +5,14 @@ clone:
|
||||||
depth: 1 # CI does not need commit history
|
depth: 1 # CI does not need commit history
|
||||||
recursive: true
|
recursive: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
|
@ -18,15 +21,15 @@ pipeline:
|
||||||
- yarn build
|
- yarn build
|
||||||
mocha:
|
mocha:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: node:18.6.0
|
image: node:18.6.0
|
||||||
commands:
|
commands:
|
||||||
- yarn mocha
|
- yarn mocha
|
||||||
e2e:
|
e2e:
|
||||||
when:
|
when:
|
||||||
event:
|
branch: main
|
||||||
- pull_request
|
event: push
|
||||||
image: cypress/included:10.3.0
|
image: cypress/included:10.3.0
|
||||||
commands:
|
commands:
|
||||||
- npm run start:test &
|
- npm run start:test &
|
||||||
|
|
Loading…
Reference in New Issue