fix: update build command for app-e2e and set alwaysUseSrc to true in… #255
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: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run tests with coverage | |
| run: npm run test:coverage -w @eclipse-docks/core | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| use_oidc: true | |
| files: packages/core/coverage/lcov.info | |
| disable_search: true | |
| fail_ci_if_error: false | |
| - name: Build core package | |
| run: npm run build | |
| - name: Build app | |
| run: npm run build:app | |
| - name: Run type check | |
| run: npm run type-check | |
| - name: Install Playwright Chromium | |
| run: npm run playwright:install-chromium-ci | |
| - name: Run E2E tests | |
| run: npm run test:e2e | |