Skip to content

Commit 79ac58d

Browse files
committed
add GH action for web tests
1 parent 23da8dd commit 79ac58d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎.github/workflows/web_tests.yml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Web tests with jest
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
paths:
9+
- '.github/workflows/**'
10+
- 'src/web**'
11+
- '!**/*.rst'
12+
13+
14+
jobs:
15+
jest_tests:
16+
17+
runs-on: 'ubuntu-latest'
18+
19+
name: Jest tests for the web components
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: "16"
27+
- name: Run tests
28+
working-directory: ./app
29+
run: npm install && npm run test
30+

0 commit comments

Comments
 (0)