Skip to content

Commit

Permalink
Merge pull request #65 from unit214/unit-testing
Browse files Browse the repository at this point in the history
Unit testing
  • Loading branch information
bpemca authored Jan 15, 2024
2 parents 5a66e77 + 8efc8a8 commit 0e63006
Show file tree
Hide file tree
Showing 6 changed files with 3,045 additions and 108 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Unit testing

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize

jobs:
test:
name: npm test
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3

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

- name: Install Dependencies
run: npm install

- name: Run Tests
run: npm test
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": true,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none"
}
Loading

0 comments on commit 0e63006

Please sign in to comment.