Skip to content

Commit

Permalink
ci: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tozydev committed Sep 21, 2024
1 parent 6bfb5dd commit 287ea52
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun i --frozen-lockfile

- name: Copy dev variables
run: cp .dev.vars.example .dev.vars

- name: Run tests
run: bun vitest run

0 comments on commit 287ea52

Please sign in to comment.