imp: Improved performance on new array allocations. #64
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: Push checks | |
| on: | |
| push | |
| jobs: | |
| checks: | |
| name: Build checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cloning source code | |
| uses: actions/checkout@v5 | |
| - name: "`pnpm` installation" | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: Configuring Node.js 22 (LTS) | |
| uses: actions/setup-node@v5 | |
| with: | |
| cache: pnpm | |
| node-version: 22 | |
| - name: Installing dependencies | |
| run: pnpm run ci | |
| - name: Linting the source code | |
| run: pnpm run lint | |
| env: | |
| NODE_ENV: production | |
| - name: Checking type consistency | |
| run: pnpm run typecheck | |
| - name: Testing the source code | |
| run: pnpm run test | |
| - name: Building the source code | |
| run: pnpm build | |
| coverage: | |
| name: Coverage tests | |
| needs: checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cloning source code | |
| uses: actions/checkout@v5 | |
| - name: "`pnpm` installation" | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: Configuring Node.js 22 (LTS) | |
| uses: actions/setup-node@v5 | |
| with: | |
| cache: pnpm | |
| node-version: 22 | |
| - name: Installing dependencies | |
| run: pnpm run ci | |
| - name: Running coverage tests | |
| run: pnpm run test:coverage | |
| - name: Uploading coverage reports | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |