mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +00:00
5b0d788737
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
29 lines
868 B
YAML
29 lines
868 B
YAML
when:
|
|
- event: pull_request
|
|
|
|
steps:
|
|
- name: lint-editorconfig
|
|
image: docker.io/woodpeckerci/plugin-editorconfig-checker:0.2.0
|
|
depends_on: []
|
|
when:
|
|
- event: pull_request
|
|
|
|
- name: spellcheck
|
|
image: docker.io/node:23-alpine
|
|
depends_on: []
|
|
commands:
|
|
- corepack enable
|
|
- pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
|
|
- apk add --no-cache -U tree # busybox tree don't understand "-I"
|
|
# cspell:disable-next-line
|
|
- tree --gitignore -I 012_columns_rename_procs_to_steps.go -I versioned_docs -I '*opensource.svg'| pnpx cspell lint --no-progress stdin
|
|
|
|
- name: prettier
|
|
image: docker.io/woodpeckerci/plugin-prettier:next
|
|
pull: true
|
|
depends_on: []
|
|
settings:
|
|
version: 3.3.3
|
|
plugins:
|
|
- 'prettier-plugin-tailwindcss'
|
|
- '@ianvs/prettier-plugin-sort-imports'
|