Skip to content

Commit

Permalink
Merge pull request #122 from ryandgoulding/feat/github_action_unit_tests
Browse files Browse the repository at this point in the history
Run unit tests using GitHub Actions on push/pull_request
  • Loading branch information
TRileySchwarz authored Oct 25, 2023
2 parents 796e176 + c0c2fdc commit 1becd41
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: unit tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: yarn install

- name: Run unit tests
run: yarn test

0 comments on commit 1becd41

Please sign in to comment.