Modernize CI workflows and README badges following typeorm-adapter pattern #94
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: Benchmarks | |
| on: [push, pull_request] | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [^18, ^20] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v2.1.5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Dependency | |
| run: yarn install && yarn global add ts-node | |
| - name: Run Benchmark | |
| run: yarn benchmark |