Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Unit Tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Navigate into server folder
run: cd server/
- name: npm install
run: npm ci
- name: tests
run: npm test