Skip to content

Commit 3e9c0b1

Browse files
Add GitHub Action for tests
1 parent aa63544 commit 3e9c0b1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/jest.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Jest
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ "master" ]
9+
schedule:
10+
- cron: '29 3 * * 5'
11+
12+
jobs:
13+
jest:
14+
name: Run Jest tests
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Run Jest
24+
run: yarn test

0 commit comments

Comments
 (0)