Skip to content

chore: use biomejs as linting tool (#6) #23

chore: use biomejs as linting tool (#6)

chore: use biomejs as linting tool (#6) #23

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Check out the repository.
- uses: actions/checkout@v4
# Install Bun.
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
export PATH="$HOME/.bun/bin:$PATH"
# Append Bun's bin folder to the GitHub Actions PATH.
echo "$HOME/.bun/bin" >> $GITHUB_PATH
bun --version
# (Optional) Install dependencies if you use bun install.
- name: Install Dependencies
run: bun install
- name: Lint Code
run: bun lint
- name: Unit Tests
run: bun test:unit
- name: Download spec tests
run: bun download-spec-tests
- name: Spec tests
run: bun test:spec