Skip to content

ENH: add sonar configuration #101

ENH: add sonar configuration

ENH: add sonar configuration #101

Workflow file for this run

name: dmv/build-and-unit-tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build and run tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["16.x", "20.x"]
steps:
- uses: actions/checkout@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Build package in production mode
run: yarn build
- name: Lint with standard
run: yarn lint
- name: Test with jest
run: yarn test