Skip to content

build: bump all dependencies and fix tests #312

build: bump all dependencies and fix tests

build: bump all dependencies and fix tests #312

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches:
- '**'
tags-ignore:
- '**'
paths:
- '**'
env:
NPM_CACHE_NAME: "npm-cache"
NPM_CACHE_PATH: "~/.npm"
jobs:
Test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Cache node modules
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'npm'
- name: Npm install
run: |
printf "%70s\n" | tr ' ' '-'
npm ci
printf "%70s\n" | tr ' ' '-'
- name: Mocha tests, coverage and lint
env:
BMYC_GITHUB_TOKEN: ${{ secrets.BMYC_GITHUB_TOKEN }}
run: |
printf "%70s\n" | tr ' ' '-'
npm run test
printf "%70s\n" | tr ' ' '-'