fix(release): override scoped package name in build via extraMetadata #282
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: | |
| push: | |
| branches: | |
| - main | |
| - 'feat/**' | |
| - 'fix/**' | |
| jobs: | |
| lint-typecheck-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| # Mobile's smoke test needs Chromium; Playwright is otherwise installed | |
| # only in the e2e job. Cheap to install here. | |
| - run: pnpm --filter @etherpad/mobile exec playwright install --with-deps chromium | |
| - run: pnpm lint | |
| - run: pnpm typecheck | |
| - run: pnpm test | |
| e2e: | |
| runs-on: ubuntu-latest | |
| needs: lint-typecheck-test | |
| # Bumped from 15 → 25 after the TS 6 / Vite 8 dev-tooling upgrade | |
| # pushed cold e2e runs past 15 min; still stops a real hang. | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter @etherpad/desktop exec playwright install --with-deps chromium | |
| - run: pnpm build | |
| - run: pnpm test:e2e | |
| env: | |
| CI: 'true' | |
| - uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: playwright-report | |
| path: packages/desktop/playwright-report/ | |
| retention-days: 7 |