Skip to content

Tests

Tests #3

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request_target:
paths:
- 'kryptolearn/**'
jobs:
build:
name: Install and build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./kryptolearn
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: kryptolearn/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run jest tests
run: npm test