8000 Add config block to media selector · home-assistant/home-assistant.io@41e7b81 · GitHub
[go: up one dir, main page]

Skip to content

Add config b 8EB9 lock to media selector #72956

Add config block to media selector

Add config block to media selector #72956

Workflow file for this run

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/checkout@v4.2.2
- name: Setting up Node.js
uses: actions/setup-node@v4.4.0
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/checkout@v4.2.2
- name: Setting up Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
env:
CI: true
- name: Run textlint
run: npm run textlint
0