feat: add gradient background #9
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: Lint and Prettier Check | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-and-prettier: | |
name: Run ESLint and Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 # Use the Node.js version of your project | |
- name: Install dependencies | |
run: npm ci # Ensures clean install without modifying package-lock.json | |
- name: Run ESLint | |
run: npm run lint | |
- name: Check Prettier formatting | |
run: npx prettier --check . |