Skip to content

add bun to workflow

add bun to workflow #1

Workflow file for this run

name: Build and test
on: push
jobs:
node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
- name: Node.js latest
uses: actions/setup-node@v1
- run: bun install --frozen-lockfile
- run: npm run build
- run: npm run test
bun:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Bun latest
uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test