Skip to content

switch to mocha for testing #2532

switch to mocha for testing

switch to mocha for testing #2532

Workflow file for this run

name: test
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- main
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: set git core.autocrlf to 'input'
run: git config --global core.autocrlf input
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm test
- run: npm run eslint
- run: npm run compile
# not running ladle build due to elasticlunr bundling issue
# - run: npm run build