[Snyk] Security upgrade @mui/material from 6.4.1 to 7.0.0 #12
This file contains hidden or 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 suite | |
| on: [pull_request] | |
| jobs: | |
| lint: | |
| name: Typescript linting and License checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - name: Analysing the code with eslint | |
| run: | | |
| npm run lint | |
| - name: Verifying license information | |
| run: | | |
| npm run license-checker | |
| test: | |
| name: Run Cypress test against mocked APIs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - name: Execute tests | |
| run: | | |
| npm run cy:e2e-headless | |
| - name: Upload execution screenshots | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Screenshots | |
| path: ./cypress/screenshots | |
| - name: Cleanup test suite execution | |
| run: | | |
| rm -rf ./cypress/screenshots | |
| rm -rf ./cypress/downloads |