fix: remove incorrect subdirectory paths in CI workflow
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user