chore: Clean up github actions workflows.
This commit is contained in:
parent
3c95c23369
commit
b5f1bdd063
2 changed files with 9 additions and 12 deletions
11
.github/workflows/lom-testing.yml
vendored
11
.github/workflows/lom-testing.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue