Skip to content

add cjs build

add cjs build #44

Workflow file for this run

#
# ci.yml
#
# Run tests for all pushed commits and opened pull requests on Github.
#
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Git checkout
uses: actions/checkout@v2
- name: NPM ci, build, & test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true