Skip to content

Commit

Permalink
add tests workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 22, 2024
1 parent 479904a commit b4ddeb7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: run tests
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
unit-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up environment
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Run tests
run: npx vitest

0 comments on commit b4ddeb7

Please sign in to comment.