Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Merge pull request #492 from mcottontensor/setting_option_fix #196

Merge pull request #492 from mcottontensor/setting_option_fix

Merge pull request #492 from mcottontensor/setting_option_fix #196

name: Run library unit tests
on:
push:
branches: ['master']
paths: ['Frontend/library/**']
pull_request:
branches: ['master']
paths: ['Frontend/library/**']
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
permissions:
contents: write
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install library deps
working-directory: ./Frontend/library
run: npm ci
- name: Run frontend lib tests
working-directory: ./Frontend/library
run: npm run test