2024-02-12 14:00:33 +00:00
|
|
|
when:
|
|
|
|
- event: pull_request
|
|
|
|
- event: push
|
|
|
|
branch: renovate/*
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: lint-editorconfig
|
2024-07-13 18:02:14 +00:00
|
|
|
image: docker.io/mstruebing/editorconfig-checker:v3.0.3
|
2024-02-12 14:00:33 +00:00
|
|
|
depends_on: []
|
|
|
|
when:
|
|
|
|
- event: pull_request
|
|
|
|
- event: push
|
|
|
|
branch: renovate/*
|
|
|
|
|
|
|
|
- name: spellcheck
|
2024-04-28 09:14:03 +00:00
|
|
|
image: docker.io/node:22-alpine
|
2024-02-12 14:00:33 +00:00
|
|
|
depends_on: []
|
|
|
|
commands:
|
|
|
|
- corepack enable
|
|
|
|
- pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
|
2024-05-24 20:35:04 +00:00
|
|
|
- apk add --no-cache -U tree # busybox tree don't understand "-I"
|
|
|
|
# cspell:disable-next-line
|
2024-05-14 00:45:03 +00:00
|
|
|
- tree --gitignore -I 012_columns_rename_procs_to_steps.go -I versioned_docs -I '*opensource.svg'| pnpx cspell lint --no-progress stdin
|
2024-02-12 14:00:33 +00:00
|
|
|
|
|
|
|
- name: prettier
|
|
|
|
image: docker.io/woodpeckerci/plugin-prettier:0.1.0
|
|
|
|
depends_on: []
|
|
|
|
settings:
|
2024-07-25 15:17:09 +00:00
|
|
|
version: 3.3.3
|
2024-02-12 14:00:33 +00:00
|
|
|
|
|
|
|
- name: links
|
2024-06-17 05:38:06 +00:00
|
|
|
image: docker.io/lycheeverse/lychee:0.15.1
|
2024-02-12 14:00:33 +00:00
|
|
|
depends_on: []
|
|
|
|
commands:
|
|
|
|
- lychee pipeline/frontend/yaml/linter/schema/schema.json
|
|
|
|
- lychee --exclude localhost docs/docs/
|
|
|
|
- lychee --exclude localhost docs/src/pages/
|