Enhance API Docs CI workflow by adding node_modules/.bin to PATH and updating ESLint configuration; include additional ESLint and testing dependencies in package.json
Some checks failed
API Docs (Node.js Express) / test (16) (push) Failing after 5m11s
API Docs (Node.js Express) / test (18) (push) Failing after 5m16s
API Docs (Node.js Express) / test (20) (push) Failing after 53s
API Docs (Node.js Express) / build (push) Has been skipped
API Docs (Node.js Express) / security (push) Has been skipped
LabFusion CI/CD Pipeline / service-adapters (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / api-gateway (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
Docker Build and Push / build-and-push (push) Has been cancelled
Docker Build and Push / security-scan (push) Has been cancelled
Docker Build and Push / deploy-staging (push) Has been cancelled
Docker Build and Push / deploy-production (push) Has been cancelled
Integration Tests / integration-tests (push) Has been cancelled
Integration Tests / performance-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
Some checks failed
API Docs (Node.js Express) / test (16) (push) Failing after 5m11s
API Docs (Node.js Express) / test (18) (push) Failing after 5m16s
API Docs (Node.js Express) / test (20) (push) Failing after 53s
API Docs (Node.js Express) / build (push) Has been skipped
API Docs (Node.js Express) / security (push) Has been skipped
LabFusion CI/CD Pipeline / service-adapters (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / api-gateway (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
Docker Build and Push / build-and-push (push) Has been cancelled
Docker Build and Push / security-scan (push) Has been cancelled
Docker Build and Push / deploy-staging (push) Has been cancelled
Docker Build and Push / deploy-production (push) Has been cancelled
Integration Tests / integration-tests (push) Has been cancelled
Integration Tests / performance-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
This commit is contained in:
@@ -51,10 +51,13 @@ jobs:
|
||||
npm install
|
||||
fi
|
||||
|
||||
- name: Add node_modules/.bin to PATH
|
||||
run: echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Run linting
|
||||
run: |
|
||||
npm run lint
|
||||
npm run lint:fix --dry-run
|
||||
npx eslint . --ext .js
|
||||
npx eslint . --ext .js --fix --dry-run
|
||||
|
||||
- name: Run type checking
|
||||
run: npm run type-check
|
||||
@@ -118,6 +121,9 @@ jobs:
|
||||
npm install
|
||||
fi
|
||||
|
||||
- name: Add node_modules/.bin to PATH
|
||||
run: echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Build application
|
||||
run: npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user