chore: Clean up github actions workflows.

This commit is contained in:
greysoh 2024-05-10 17:47:21 -04:00
parent 3c95c23369
commit b5f1bdd063
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571
2 changed files with 9 additions and 12 deletions

View file

@ -7,8 +7,10 @@ on:
push:
paths:
- "api/**"
tags-ignore:
- "*"
defaults:
run:
working-directory: lom
jobs:
test:
@ -24,16 +26,13 @@ jobs:
node-version: 20.x
- name: Install dependencies
working-directory: lom
run: npm install --save-dev
- name: Build source
working-directory: lom
run: npm build
- name: Run eslint
working-directory: lom
run: npx eslint src
run: npx eslint src
- name: Run prettier to verify if we're formatted or not
uses: creyD/prettier_action@v4.3