Adjust documentation for the redesigned area card (#39637) #72803
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: home-assistant.io Test | |
on: [push, pull_request] | |
jobs: | |
markdown-lint: | |
name: Lint Markdown | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out files from GitHub | |
uses: actions/[email protected] | |
- name: Setting up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Check for .md files and suggest renaming | |
run: | | |
echo "Checking for .md files in source/_integrations..." | |
MD_FILES=$(find source/_integrations -type f -name "*.md") | |
if [ -n "$MD_FILES" ]; then | |
echo "Found the following .md files:" | |
echo "$MD_FILES" | |
echo "⚠️ Please rename these files from .md to .markdown" | |
exit 1 | |
fi | |
- name: Install dependencies | |
run: npm install | |
env: | |
CI: true | |
- name: Run remark lint | |
run: npm run markdown:lint | |
textlint: | |
name: Lint Text | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out files from GitHub | |
uses: actions/[email protected] | |
- name: Setting up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Install dependencies | |
run: npm install | |
env: | |
CI: true | |
- name: Run textlint | |
run: npm run textlint |