Skip to content

Adds test GH action

Adds test GH action #5

Workflow file for this run

name: Node.js Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "21"
- name: Install dependencies
run: npm install
- name: Build App
run: npm run build
- name: Run tests
run: npm test