chore(deps): update dependency webpack to v5.104.1 [security] #17194
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Restore node_modules | |
| id: yarn-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: "**/node_modules" | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Use Node.js from .nvmrc | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Install | |
| if: steps.yarn-cache.outputs.cache-hit != 'true' | |
| run: CYPRESS_INSTALL_BINARY=0 yarn install | |
| - run: yarn lint | |
| test: | |
| name: Test | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Restore node_modules | |
| id: yarn-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: "**/node_modules" | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Use Node.js from .nvmrc | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Install | |
| if: steps.yarn-cache.outputs.cache-hit != 'true' | |
| run: CYPRESS_INSTALL_BINARY=0 yarn install | |
| - run: MEASURE_UNIT_PERFORMANCE=true yarn test | |
| - name: Upload timing logs | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-timings | |
| path: test-timings.log | |
| build: | |
| name: Build | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Restore node_modules | |
| id: yarn-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: "**/node_modules" | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Use Node.js from .nvmrc | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Install | |
| if: steps.yarn-cache.outputs.cache-hit != 'true' | |
| run: CYPRESS_INSTALL_BINARY=0 yarn install | |
| - name: Build assets | |
| run: yarn build | |
| - name: Serve build | |
| run: yarn serve --host --port=8400 --base=/ & | |
| - name: Wait for UI to be ready | |
| run: yarn wait-on-ui |