a76dfcc029
Can't use `npm ci`. Forgot that we removed the package lock file. Also updated the working directory path.
26 lines
487 B
YAML
26 lines
487 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches: '*'
|
|
pull_request:
|
|
branches: '*'
|
|
|
|
jobs:
|
|
trigger-main-build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:20.11.1-bookworm
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Install Dependencies
|
|
working-directory: /workspace/SPT-AKI/Server/project
|
|
run: npm install
|
|
|
|
- name: Run Tests
|
|
working-directory: /workspace/SPT-AKI/Server/project
|
|
run: npm run test
|