mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
Fixing woodpecker. (#2402)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
This commit is contained in:
parent
ad07fc4fed
commit
4dbf8fd2f1
1 changed files with 12 additions and 3 deletions
|
@ -8,18 +8,24 @@ steps:
|
|||
- apk add git
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
install:
|
||||
image: node:20-alpine
|
||||
commands:
|
||||
- *install_pnpm
|
||||
- pnpm i
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
lint:
|
||||
image: node:20-alpine
|
||||
commands:
|
||||
- *install_pnpm
|
||||
- pnpm lint
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
build_dev:
|
||||
image: node:20-alpine
|
||||
|
@ -27,6 +33,8 @@ steps:
|
|||
- *install_pnpm
|
||||
- pnpm prebuild:dev
|
||||
- pnpm build:dev
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
publish_release_docker:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
|
@ -37,7 +45,7 @@ steps:
|
|||
platforms: linux/amd64, linux/arm64
|
||||
tag: ${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: tag
|
||||
- event: tag
|
||||
|
||||
nightly_build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
|
@ -48,7 +56,7 @@ steps:
|
|||
platforms: linux/amd64, linux/arm64
|
||||
tag: dev
|
||||
when:
|
||||
event: cron
|
||||
- event: cron
|
||||
|
||||
notify_on_failure:
|
||||
image: alpine:3
|
||||
|
@ -56,7 +64,8 @@ steps:
|
|||
- apk add curl
|
||||
- "curl -d'Lemmy-UI CI build failed: ${CI_PIPELINE_URL}' ntfy.sh/lemmy_drone_ci"
|
||||
when:
|
||||
status: [failure]
|
||||
- event: pull_request
|
||||
status: failure
|
||||
|
||||
notify_on_tag_deploy:
|
||||
image: alpine:3
|
||||
|
|
Loading…
Reference in a new issue