Skip to content

Add github action to run install and test on each commit #1

Add github action to run install and test on each commit

Add github action to run install and test on each commit #1

Workflow file for this run

name: Install and run Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn install
- name: Run All Tests
run: |
yarn test