Improve instantiation speed by not using a megamorphic dispatch in th… #232
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: "Test" | |
on: | |
push: | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-test-env | |
- name: Test | |
shell: bash | |
run: pnpm test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-test-env | |
- name: Lint | |
shell: bash | |
run: pnpm lint | |
bench: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-test-env | |
- name: Run benchmarks | |
shell: bash | |
run: pnpm x bench/all.ts | |
build-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-test-env | |
- name: Build | |
shell: bash | |
run: pnpm build |