generated from Templates/Baseline
migrate to Woodpecker-CI 3 pipelines #28
10
.prettierrc.json
Normal file
10
.prettierrc.json
Normal 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
|
||||||
|
}
|
@ -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
|
||||||
|
19
.woodpecker/release-hepler.yml
Normal file
19
.woodpecker/release-hepler.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user