Skip to content

Commit

Permalink
Adds unit test CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
KasparPeterson committed Mar 27, 2024
1 parent 35a0a21 commit fd55be9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit tests

on: [ push ]

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

steps:
- uses: actions/checkout@v4
- name: "Setup Node.js"
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: "Install Dependencies"
id: install
run: cd contracts && npm ci
- name: "Backend Unit tests"
run: |
cd contracts && npm run test

0 comments on commit fd55be9

Please sign in to comment.