style #473
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: | |
pull_request: | |
branches: ["master"] | |
push: | |
branches: ["master"] | |
jobs: | |
test-bun: | |
name: "Bun ${{matrix.bun-version}}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
bun-version: [1] | |
steps: | |
- uses: "actions/checkout@v3" | |
- uses: "oven-sh/setup-bun@v1" | |
with: | |
bun-version: "${{matrix.bun-version}}" | |
- uses: "actions/setup-node@v3" | |
with: | |
node-version: 20 | |
cache: "npm" | |
- run: "npm install --frozen-lockfile" | |
- run: "bun run lint" | |
- run: "bunx prettier -c src/" | |
- run: "bun run test" | |
- run: "bun run build" | |
- run: "bunx bob check" | |
env: | |
DEFER_NO_LOCAL_SCHEDULER: 1 | |
test-node: | |
name: "Node ${{matrix.node-version}}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
steps: | |
- uses: "actions/checkout@v3" | |
- uses: "actions/setup-node@v3" | |
with: | |
node-version: "${{matrix.node-version}}" | |
cache: "npm" | |
- run: "npm install --frozen-lockfile" | |
- run: "npm run lint" | |
- run: "npx prettier -c src/" | |
- run: "npm run test" | |
- run: "npm run build" | |
- run: "npx bob check" | |
env: | |
DEFER_NO_LOCAL_SCHEDULER: 1 |