Skip to content

Commit

Permalink
Adds unit tests to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
macterra committed Mar 4, 2024
1 parent 601f0f1 commit 1495b76
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: unit-test

on:
push:
branches:
- '**'

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Run unit tests
run: npm test

0 comments on commit 1495b76

Please sign in to comment.