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-10-20 09:19:18 +00:00
|
|
|
image: docker.io/node:23-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
|
2024-09-05 05:27:31 +00:00
|
|
|
image: docker.io/woodpeckerci/plugin-prettier:0.2.0
|
2024-02-12 14:00:33 +00:00
|
|
|
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
|
2024-09-23 13:34:07 +00:00
|
|
|
- lychee --user-agent "curl/8.4.0" --exclude localhost docs/docs/
|
|
|
|
- lychee --user-agent "curl/8.4.0" --exclude localhost docs/src/pages/
|