Skip to content

🔧 Setup ESLint

🔧 Setup ESLint #3

Workflow file for this run

name: Mock TypeORM
on:
push:
branches:
- master
- dev
- "feature/**"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run test
- name: Run Lint
run: npm run lint