Bump rollup from 2.79.2 to 2.80.0 in /frontend #367
Workflow file for this run
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: ci | |
| on: | |
| pull_request: | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install modules | |
| run: npm ci | |
| - name: Run ESLint | |
| run: npm run lint | |
| component-tests: | |
| needs: eslint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install frontend modules | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| install-command: npm run install:frontend | |
| runTests: false | |
| - name: Run frontend component tests 🧪 | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| command: npm run test:frontend:component:cloud | |
| env: | |
| CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
| gui-tests: | |
| needs: eslint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install backend modules | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| install-command: npm run install:backend | |
| runTests: false | |
| - name: Install frontend modules | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| install-command: npm run install:frontend | |
| runTests: false | |
| - name: Run frontend GUI tests 🧪 | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| start: npm run start:frontend, npm run start:server | |
| command: npm run test:frontend:gui:cloud | |
| env: | |
| CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
| cypress-api-tests: | |
| needs: eslint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install backend modules | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| install-command: npm run install:backend | |
| runTests: false | |
| - name: Run API tests 🧪 | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| start: npm run start:server | |
| command: npm run test:api:cloud | |
| env: | |
| CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
| supertest-api-tests: | |
| needs: eslint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install backend modules | |
| run: | | |
| cd backend | |
| npm ci | |
| - name: Start backend server | |
| run: | | |
| cd backend | |
| npm start & | |
| echo $! > server.pid | |
| sleep 3 | |
| - name: Run supertest API tests 🧪 | |
| run: | | |
| cd backend | |
| npm test | |
| - name: Stop backend server | |
| if: always() | |
| run: | | |
| if [ -f backend/server.pid ]; then | |
| kill $(cat backend/server.pid) || true | |
| rm backend/server.pid | |
| fi |