Skip to content

fix(ci): complete eslint migration and path fixes #8

fix(ci): complete eslint migration and path fixes

fix(ci): complete eslint migration and path fixes #8

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
server-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: server/package-lock.json
- run: npm install
- name: Lint
run: npx eslint .
client-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: client/package-lock.json
- run: npm install
- name: Lint
run: npm run lint