From ee2e965342508510e18c2937e8803e9e9bda4d35 Mon Sep 17 00:00:00 2001 From: Peter Barnum Date: Fri, 16 Aug 2024 12:06:34 -0600 Subject: [PATCH] add test workflow --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..faca744 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: 'Mocha Tests' +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Use Node v20 + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test