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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |