Skip to content

Commit

Permalink
Merge pull request #2 from EF-Pami/EF-Pami-patch-1
Browse files Browse the repository at this point in the history
Create unit-test.yml
  • Loading branch information
EF-Pami authored Jan 27, 2024
2 parents 35b2a5c + 4ddfe6b commit cd0ce21
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 cd0ce21

Please sign in to comment.