Skip to content

Commit 0529a22

Browse files
committed
feat: use github action for test
1 parent 6961c9f commit 0529a22

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Diff for: .github/workflows/test.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, ready_for_review]
6+
7+
jobs:
8+
build-and-test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 16
18+
19+
- name: Install Dependencies
20+
run: yarn
21+
22+
- name: Lint
23+
run: yarn lint
24+
25+
- name: Build
26+
run: yarn build
27+
28+
- name: Unit Tests
29+
run: yarn test
30+
31+
- name: End-to-End Tests (Firefox)
32+
run: yarn test:e2e:firefox
33+
34+
- name: Black Box Tests
35+
run: yarn test:black-box
36+
37+
- name: Generate Coverage Report
38+
run: yarn test:coverage

0 commit comments

Comments
 (0)