Skip to content

Commit

Permalink
Support for cjs and jest (#14)
Browse files Browse the repository at this point in the history
Fixes #6, #10, #11
  • Loading branch information
zfben authored May 25, 2024
1 parent f80d9fa commit 56c3f25
Show file tree
Hide file tree
Showing 6 changed files with 4,692 additions and 780 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Unit

on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/**
- .github/workflows/test.yml
- package-lock.json
- package.json

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
- name: Install
run: |
npm install -g npm@latest
npm ci
- name: Prepack
run: npm run build
- name: Run Tests
run: npm run test
Loading

0 comments on commit 56c3f25

Please sign in to comment.