ci: setup bun #36
Workflow file for this run
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, next] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.0.25 | |
- run: bun install --no-save | |
- run: bunx playwright install --with-deps | |
- run: bun run build | |
- run: bun run test |