We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dab191 commit f97c967Copy full SHA for f97c967
.github/workflows/frontend.yml
@@ -0,0 +1,35 @@
1
+name: Frontend Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
+ paths:
11
+ - 'frontend/**'
12
+ workflow_dispatch:
13
14
+jobs:
15
+ frontend-tests:
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v2
21
22
+ - name: Set up Node.js
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: '14'
26
27
+ - name: Clean npm cache
28
+ run: npm cache clean --force
29
30
+ - name: Install dependencies
31
+ run: cd ./frontend && npm ci
32
33
+ - name: Run Frontend Tests
34
+ run: cd ./frontend && npm run test:ci
35
0 commit comments