Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/pr-check_yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
- package.json
- package-lock.json
- "*.yml"
- "*.yaml"
- "**/*.yml"
- "**/*.yaml"

# No GITHUB_TOKEN permissions, as we only use it to increase API limit.
permissions: {}
Expand All @@ -33,5 +35,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint markdown files
- name: Lint yml files
run: npm run lint:yml
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"fix:json": "prettier --write --cache \"**/*.json(c)?\"",
"fix:md": "markdownlint-cli2 --fix \"**/*.md\" && prettier --write --cache \"**/*.md\"",
"fix:pre-commit": "lefthook run pre-commit",
"fix:yml": "prettier --write --cache \"**/*.yml\"",
"fix:yml": "prettier --write --cache \"**/*.{yml,yaml}\"",
"lint:fm": "node scripts/front-matter_linter.js",
"lint:js": "prettier -c \"**/*.(m)?js\"",
"lint:json": "prettier -c \"**/*.json(c)?\"",
"lint:md": "markdownlint-cli2 \"**/*.md\" && prettier -c \"**/*.md\"",
"lint:typos": "cspell --no-progress --gitignore --config .vscode/cspell.json \"**/*.md\"",
"lint:typos-group-by-file": "cspell --no-progress --gitignore --quiet --reporter cspell-group-by-file-reporter --config .vscode/cspell.json \"**/*.md\"",
"lint:typos-words-only": "cspell --no-progress --gitignore --words-only --unique --config .vscode/cspell.json \"**/*.md\"",
"lint:yml": "prettier -c \"**/*.yml\"",
"lint:yml": "prettier -c \"**/*.{yml,yaml}\"",
"start": "npm run --silent info:fred && npm run up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files NODE_ENV=production FRED_PLAYGROUND_LOCAL=true FRED_PLAYGROUND_PORT=5043 FRED_PORT=5042 FRED_WRITER_MODE=true fred server",
"test": "node --test",
"up-to-date-check": "node scripts/up-to-date-check.js"
Expand Down