Skip to content

Commit

Permalink
ci: add github action to run unit tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinAmancio committed Apr 13, 2024
1 parent 61a0fa0 commit 760dd3a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Unit Tests

on: [push]

jobs:
run-unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'

- run: npm ci

- run: npm run test

0 comments on commit 760dd3a

Please sign in to comment.