ci(typos): add support for typos
#4
Workflow file for this run
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: YAML Analyzer | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| paths: | |
| - '*.yml' | |
| - '.github/**/*.yml' | |
| - '.editorconfig' | |
| jobs: | |
| yamllint: | |
| name: yamllint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set Homebrew | |
| uses: Homebrew/actions/setup-homebrew@master | |
| - name: Install yamllint | |
| run: brew install yamllint | |
| - name: Run yamllint | |
| run: yamllint . --list-files && yamllint . -s | |
| prettier: | |
| name: prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set nodejs | |
| uses: actions/setup-node@v4 | |
| with: | |
| registry-url: https://registry.npmjs.org/ | |
| node-version: lts/* | |
| - name: Run prettier | |
| run: | | |
| shopt -s globstar | |
| npx prettier@latest .github/**/*.yml ./.*.yml ./*.yml -c --log-level debug |