Perf issue fix: avoid creating an inject plugin when there are no shims to inject #70
Workflow file for this run
This file contains 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 | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-dependencies | |
- name: Run the linter | |
run: pnpm lint | |
test-e2e: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-dependencies | |
- run: pnpm build:core | |
- run: pnpm build:shims | |
- run: pnpm playwright install --with-deps | |
- run: pnpm -r test:e2e | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-dependencies | |
- run: pnpm build:core | |
- run: pnpm build:shims | |
- run: pnpm -r test | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-dependencies | |
- run: pnpm build:core | |
- run: pnpm build:shims | |
- run: pnpm typecheck |