Skip to content

Update Hero Design & General Improvements #53

Update Hero Design & General Improvements

Update Hero Design & General Improvements #53

Workflow file for this run

name: Code Quality
on:
pull_request:
branches: [main, develop]
types: [opened, synchronize]
jobs:
style:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.12.0"]
steps:
- name: ☁ Checkout code
uses: actions/checkout@v3
- name: 📬 Caching
uses: actions/cache@v3
with:
path: |
**/node_modules
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: 🟩 Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: 🧰 Install dependencies
run: npm ci
- name: 🎨 Check code formatting
run: npm run test:format
- name: 🐛 Lint the code
run: npm run test:lint