Skip to content

Bind to Bun shell

Bind to Bun shell #27

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: npm ci
- name: Build project
run: bun run build
- name: Test project
run: bun run test
- name: Install dependencies
working-directory: ./playground
run: npm ci
- name: Build Playground
working-directory: ./playground
run: bun run build
- name: Run Playground tests
working-directory: ./playground
run: bun run test