Skip to content

Commit

Permalink
Add GH action to build library and run test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Sep 4, 2024
1 parent 8205bae commit a2e4d97
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
submodules: true
- name: Set up node environment
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Build library
run: make
- name: Runs tests
run: yarn node --experimental-vm-modules $(yarn bin jest)

0 comments on commit a2e4d97

Please sign in to comment.