Update workflows to use Bun #230
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: Run Tests | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
vitest: | |
runs-on: ubuntu-latest | |
container: | |
image: oven/bun:latest | |
steps: | |
- name: Install Git and LFS | |
run: | | |
apt-get update | |
apt-get install -y git git-lfs | |
- uses: actions/checkout@v4 | |
with: | |
lfs: false | |
- name: Checkout LFS | |
run: git lfs pull | |
- name: Install Dependencies | |
run: bun install | |
working-directory: ./project | |
- name: Run Tests | |
run: bun run test | |
working-directory: ./project |