Added automation example. #167
This file contains 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: 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 |