chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /lib/user-interf… #704
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: smoke-build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-cdk: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Formatting | |
run: | | |
npm ci | |
cd ./lib/user-interface/react-app | |
npm ci | |
cd - | |
npm run lint | |
- name: Backend | |
run: | | |
npm ci | |
npm audit | |
npm run build | |
npm run test | |
npx cdk synth | |
- name: PyTests | |
# Suppression of pip audit failure until langchain is upgraded. | |
run: | | |
pip install -r pytest_requirements.txt | |
flake8 . | |
bandit -c bandit.yaml -r . | |
pip-audit -r pytest_requirements.txt | |
pip-audit -r lib/shared/web-crawler-batch-job/requirements.txt | |
pip-audit -r lib/shared/file-import-batch-job/requirements.txt | |
pytest tests/ | |
- name: Frontend | |
working-directory: ./lib/user-interface/react-app | |
run: | | |
npm ci | |
npm audit | |
npm run build |