fix: remove incorrect subdirectory paths in CI workflow
Some checks failed
CI / test (push) Failing after 5s
CI / build (push) Has been skipped

This commit is contained in:
2026-01-31 12:50:29 +00:00
parent 88c0788401
commit 6a43882282

View File

@@ -17,22 +17,15 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: type-from-json/package-lock.json
- name: Install dependencies
run: |
cd type-from-json
npm ci
run: npm ci
- name: Run linting
run: |
cd type-from-json
npm run lint
run: npm run lint
- name: Run tests
run: |
cd type-from-json
npm test
run: npm test
build:
needs: test
@@ -45,20 +38,15 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: type-from-json/package-lock.json
- name: Install dependencies
run: |
cd type-from-json
npm ci
run: npm ci
- name: Build project
run: |
cd type-from-json
npm run build
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: type-from-json/dist/
path: dist/