generated from Templates/Baseline
upate pipleines
This commit is contained in:
parent
d039b6a446
commit
beebef3535
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:
|
||||
# path: "Dockerfile"
|
||||
|
||||
lint-markdown:
|
||||
image: davidanson/markdownlint-cli2:v0.17.1
|
||||
commands:
|
||||
- "markdownlint-cli2 *.{md,markdown}"
|
||||
when:
|
||||
path: "*.{md,markdown}"
|
||||
#lint-markdown:
|
||||
# image: davidanson/markdownlint-cli2:v0.17.1
|
||||
# commands:
|
||||
# - "markdownlint-cli2 *.{md,markdown}"
|
||||
# when:
|
||||
# path: "*.{md,markdown}"
|
||||
|
||||
lint-editorconfig:
|
||||
depends_on: []
|
||||
image: docker.io/mstruebing/editorconfig-checker:v3.1.2
|
||||
when:
|
||||
event: pull_request
|
||||
image: woodpeckerci/plugin-editorconfig-checker:latest
|
||||
pull: true
|
||||
settings:
|
||||
verbose: true
|
||||
|
||||
lint-prettier:
|
||||
depends_on: []
|
||||
image: woodpeckerci/plugin-prettier:1.3.0
|
||||
|
||||
|
||||
test:
|
||||
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