Skip to content

Release 0.6.1

Release 0.6.1 #16

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Run Tests
on: [push, pull_request]
jobs:
lint:
name: testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [22, 24]
mongodb-version: [8]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: true
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: supercharge/mongodb-github-action@1.12.1
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Chrome
uses: browser-actions/setup-chrome@latest
- name: NPM install
run: npm ci
- name: Build website bundle
run: npm run build
- name: Mocha tests
run: node ./node_modules/mocha/bin/mocha --recursive --require babel-core/register test