Skip to content

Commit

Permalink
Merge pull request #2 from HGarden/workflow-unit-testin-action
Browse files Browse the repository at this point in the history
added actions
  • Loading branch information
HGarden authored Aug 20, 2023
2 parents 8d88a1c + 55439e2 commit 9c1c31a
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 9c1c31a

Please sign in to comment.