feat: add @html-eslint/template-parser package #335
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.16.1 | |
- name: Install | |
run: yarn install --immutable | |
- name: Build | |
run: yarn build | |
- name: Lint | |
run: yarn lint | |
- name: Unit Tests | |
run: yarn test | |
- name: Check Spells | |
run: yarn check:spell | |
- name: Check Format | |
run: yarn check:format | |
- name: Check Types | |
run: yarn check:ts | |
- name: Code coverage report | |
uses: codecov/codecov-action@v2 | |
with: | |
yml: ./codecov.yml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: unittest | |
name: codecov | |
eslint-v8: | |
name: ESLint v8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.16.1 | |
- name: Install | |
run: yarn install --immutable | |
- name: Build | |
run: yarn build | |
- name: (v8) Install | |
working-directory: integration-test-projects/v8 | |
run: npm install | |
- name: (v8) Print config | |
working-directory: integration-test-projects/v8 | |
run: npm run print-config |