Skip to content

Setup GitHub actions for testing #1

Setup GitHub actions for testing

Setup GitHub actions for testing #1

Workflow file for this run

name: Run Tests on Pull Requests and Main Branch
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test