Skip to content

Add github workflow

Add github workflow #1

Workflow file for this run

name: Bun CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v1
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: [1.x]

Check failure on line 18 in .github/workflows/bunts.yml

View workflow run for this annotation

GitHub Actions / Bun CI

Invalid workflow file

The workflow is not valid. .github/workflows/bunts.yml (Line: 18, Col: 24): A sequence was not expected

Check failure on line 18 in .github/workflows/bunts.yml

View workflow run for this annotation

GitHub Actions / Bun CI

Invalid workflow file

The workflow is not valid. .github/workflows/bunts.yml (Line: 18, Col: 24): A sequence was not expected
- name: Install dependencies
run: |
bun install
- name: Run lint
run: |
bun lint
- name: Run build
run: |
bun run build --if-present
# - name: Run tests
# run: |
# bun test