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 e21fb74
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: Set up emscripten
uses: mymindstorm/setup-emsdk@v14
- name: Build library
run: make
- name: Runs tests
run: yarn node --experimental-vm-modules $(yarn bin jest)

0 comments on commit e21fb74

Please sign in to comment.