fix: readme #54
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check-bun: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout code π₯ | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.29 | |
- name: install dependencies π§ | |
run: bun install | |
- name: build β | |
run: bun run build | |
- name: test β | |
run: bun run test:bun | |
- name: bench β | |
run: bun run bench:bun | |
check-better: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout code π₯ | |
- name: setup node π’ | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.10.0" | |
- name: install dependencies π§ | |
run: npm install | |
- name: build β | |
run: npm run build | |
- name: run test β | |
run: npm run test:better | |
- name: run bench β | |
run: npm run bench:better |