8000 chore(build): add CI to run unit tests · githubocto/repo-visualizer@3c64a7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c64a7e

Browse files
committed
chore(build): add CI to run unit tests
1 parent db1033a commit 3c64a7e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: JS - Unit Tests
2+
3+
on: push
4+
5+
jobs:
6+
7+
run-tests:
8+
name: Unit Tests
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out Git repository
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: 14
19+
20+
- name: Install dependencies with aching
21+
uses: bahmutov/npm-install@v1
22+
23+
- name: Run unit tests
24+
run: |
25+
yarn run test

0 commit comments

Comments
 (0)
0