Setup project, add necessary configs and custom hooks and chain middleware #6
Workflow file for this run
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint ESLint | |
run: npm run lint:eslint | |
- name: Lint Prettier | |
run: npm run lint:prettier | |
- name: Lint Stylelint | |
run: npm run lint:stylelint |