build(deps): bump rollup from 4.24.4 to 4.59.0 in /client #2
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: Webapp-test on main and developer branch | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - developer | |
| paths: | |
| - 'client/**' | |
| workflow_dispatch: | |
| jobs: | |
| test-web-application: | |
| name: 'Run unit tests for web-application' | |
| runs-on: ubuntu-latest | |
| env: | |
| VITE_POSTGREST_URL: ${{ secrets.POSTGREST_URL }} | |
| VITE_UPLOAD_URL: ${{ secrets.UPLOAD_URL }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: npm install | |
| working-directory: ./client | |
| - name: Install Playwright Browsers | |
| run: npx playwright install | |
| working-directory: ./client | |
| - name: Run Tests | |
| run: npm run test | |
| working-directory: ./client | |
| lint-web-application: | |
| name: 'Lint code for web-application' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: npm install | |
| working-directory: ./client | |
| - name: Check for linting issues | |
| run: npm run lint | |
| working-directory: ./client |