Skip to content

Commit

Permalink
chore: add gh workflow for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris committed Dec 18, 2024
1 parent eb7c357 commit 6c81d0e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/vitest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run prettier check and tests
run: yarn test

0 comments on commit 6c81d0e

Please sign in to comment.