Skip to content

Commit

Permalink
feat(tests) Add GHA workflow to run unit tests on PR + main
Browse files Browse the repository at this point in the history
Ensure that we don't sneak in irregular template modifications
  • Loading branch information
blakef committed Nov 15, 2024
1 parent 9049c0f commit 94e07b8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests

on:
pull_requests:
push:
branches:
- main

jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup node.js
uses: actions/[email protected]
with:
node-version: 18
- name: Run unit tests
run: npm test


0 comments on commit 94e07b8

Please sign in to comment.