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 c81d9c5 commit 8c860f3Copy full SHA for 8c860f3
.github/workflows/test.yml
@@ -0,0 +1,28 @@
1
+name: Frontend Tests
2
+
3
+# This workflow runs ONLY on pull requests to the main and develop branches
4
+on:
5
+ pull_request:
6
+ branches: [ "main", "develop" ]
7
8
+jobs:
9
+ frontend-tests:
10
+ name: Frontend Tests
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '20.x'
21
22
+ - name: Install frontend dependencies
23
+ run: npm ci
24
+ working-directory: ./frontend
25
26
+ - name: Run frontend tests
27
+ run: npm test
28
0 commit comments