add lock #3
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 tests | |
on: | |
push: | |
paths: | |
- '**.js' | |
- '**.json' | |
- '**.yaml' | |
branches: | |
- main | |
- livecode | |
jobs: | |
setup-and-test-app: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Restore Dependencies for app | |
run: npm ci | |
working-directory: app/app | |
- name: Run Tests for app | |
run: npm test | |
working-directory: app/app | |
- name: Restore Dependencies for web-api | |
run: npm ci | |
working-directory: app/web-api | |
- name: Run Tests for app/web-api | |
run: npm test | |
working-directory: app/web-api |