Skip to content

Release/v0.1.0

Release/v0.1.0 #13

Workflow file for this run

name: Run ESLint Linter
on:
pull_request:
branches:
- main
- dev
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.npm
frontend/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('frontend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
working-directory: frontend
run: |
# Generate a fresh package-lock.json and install dependencies
npm install --package-lock-only
npm install
- name: Run ESLint
working-directory: frontend
run: npm run lint