Merge pull request #84 from avantifellows/feature/node-engine #42
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: Code Checks | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
large-files: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check for large files | |
uses: ppremk/[email protected] | |
with: | |
filesizelimit: 5MB | |
quality-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm install | |
- name: Check ESLint | |
run: npm run lint:check | |
- name: Check Prettier | |
run: npm run format:check |