mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Refactor TypeScript workflow to set working directory in defaults
This commit is contained in:
10
.github/workflows/typescript.yml
vendored
10
.github/workflows/typescript.yml
vendored
@@ -12,6 +12,9 @@ jobs:
|
|||||||
type-check:
|
type-check:
|
||||||
name: TypeScript Type Check
|
name: TypeScript Type Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./app
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -22,17 +25,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
cache-dependency-path: "package-lock.json"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: ./app
|
|
||||||
|
|
||||||
- name: Run TypeScript type check
|
- name: Run TypeScript type check
|
||||||
run: npm run type-check
|
run: npm run type-check
|
||||||
working-directory: ./app
|
|
||||||
|
|
||||||
# Optional: Run ESLint if you have it configured
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
working-directory: ./app
|
continue-on-error: true
|
||||||
continue-on-error: true # Make this optional for now
|
|
||||||
|
|||||||
Reference in New Issue
Block a user