[Snyk] Upgrade @mui/material from 5.16.7 to 5.16.9 #340
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: Test build and linting | |
on: [pull_request] | |
jobs: | |
lint-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: npm install | |
working-directory: ./pipeline-ui/backend | |
run: npm install | |
- name: Lint | |
working-directory: ./pipeline-ui/backend | |
run: npm run lint | |
lint-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: npm install | |
working-directory: ./pipeline-ui/frontend | |
run: npm install | |
- name: Lint | |
working-directory: ./pipeline-ui/frontend | |
run: npm run lint | |
integration-and-unit-tests: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Start containers | |
run: docker compose -f "docker-compose.yml" up -d --build | |
- name: npm install | |
working-directory: ./pipeline-ui/integration-tests | |
run: npm install | |
- name: Cypress run | |
uses: cypress-io/github-action@v4 | |
with: | |
working-directory: pipeline-ui/integration-tests | |
wait-on: 'http://localhost:8080' | |
- name: npm install | |
working-directory: logstash/tests | |
run: npm install | |
- name: Run tests | |
working-directory: logstash/tests | |
run: npm run test | |
- name: Stop containers | |
if: always() | |
run: docker compose -f "docker-compose.yml" down |