[ #58 , refactor mddb code to use ] #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
main: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
name: Run tests on Node ${{ matrix.node }} | |
strategy: | |
matrix: | |
node: [16, 18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install modules | |
run: npm ci | |
- name: Run tests | |
run: npm run test |