alias still not working, moved core #25
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: Lint JSX | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 22 | |
# ESLint and Prettier must be in `package.json` | |
- name: Install dependencies | |
run: npm install | |
- name: Run ESLint | |
run: npx eslint src/ | |
- name: Run Prettier | |
run: npx prettier . --write |