Skip to content

Commit

Permalink
Merge pull request #4 from MagnusPladsen/unit-test
Browse files Browse the repository at this point in the history
Create unit-test.yml
  • Loading branch information
MagnusPladsen authored Jul 27, 2023
2 parents 5388585 + d7aa4f5 commit a391f53
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Automated Unit Testing
on:
- pull_request
- workflow_dispatch

jobs:
run-unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
- name: Checkout under $GITHUB_WORKSPACE
uses: actions/checkout@main

- name: Set up NodeJS
uses: actions/setup-node@v1
with:
node-version: 16

- name: Install all dependencies
run: npm install

- name: Run Tests
run: npm run test-unit

0 comments on commit a391f53

Please sign in to comment.