Smarter autofix for rules which accommodates for tag-self-close rule.
#426
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "!dependabot/**" | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| FORCE_COLOR: 2 | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| name: Node ${{ matrix.node }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22] | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test |