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:
|
||||
name: TypeScript Type Check
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./app
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -22,17 +25,14 @@ jobs:
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
cache-dependency-path: "package-lock.json"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
working-directory: ./app
|
||||
|
||||
- name: Run TypeScript type check
|
||||
run: npm run type-check
|
||||
working-directory: ./app
|
||||
|
||||
# Optional: Run ESLint if you have it configured
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
working-directory: ./app
|
||||
continue-on-error: true # Make this optional for now
|
||||
continue-on-error: true
|
||||
|
||||
Reference in New Issue
Block a user