migrate to Woodpecker-CI 3 pipelines #28

Merged
OCram85 merged 4 commits from migrate/Woodpecker3 into main 2025-02-24 09:43:14 +01:00
3 changed files with 44 additions and 9 deletions
Showing only changes of commit beebef3535 - Show all commits

10
.prettierrc.json Normal file
View File

@ -0,0 +1,10 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 116,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"vueIndentScriptAndStyle": true
}

View File

@ -35,18 +35,24 @@ steps:
#when: #when:
# path: "Dockerfile" # path: "Dockerfile"
lint-markdown: #lint-markdown:
image: davidanson/markdownlint-cli2:v0.17.1 # image: davidanson/markdownlint-cli2:v0.17.1
commands: # commands:
- "markdownlint-cli2 *.{md,markdown}" # - "markdownlint-cli2 *.{md,markdown}"
when: # when:
path: "*.{md,markdown}" # path: "*.{md,markdown}"
lint-editorconfig: lint-editorconfig:
depends_on: [] depends_on: []
image: docker.io/mstruebing/editorconfig-checker:v3.1.2 image: woodpeckerci/plugin-editorconfig-checker:latest
when: pull: true
event: pull_request settings:
verbose: true
lint-prettier:
depends_on: []
image: woodpeckerci/plugin-prettier:1.3.0
test: test:
image: *build_plugin image: *build_plugin

View File

@ -0,0 +1,19 @@
depends_on:
- ci
- test-image
when:
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- event: manual
evaluate: TASK == "release-helper"
steps:
release-helper:
image: woodpeckerci/plugin-ready-release-go:3.1.3
settings:
debug: true
git_email: noreply@ocram85.com
forge_token:
from_secret: ci_token