We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0f76ba commit 53bac4fCopy full SHA for 53bac4f
.github/workflows/deploy.yml
@@ -8,6 +8,32 @@ on:
8
- develop
9
10
jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
+ services:
14
+ mongo:
15
+ image: mongo:6
16
+ ports: [ "27017:27017" ]
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+
20
+ - name: Setup Node
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: 18
24
25
+ - name: Install backend deps & run tests
26
+ working-directory: backend
27
+ run: |
28
+ npm install
29
+ npm test
30
31
+ - name: Install frontend deps & run tests
32
+ working-directory: frontend
33
34
35
36
37
deploy:
38
runs-on: ubuntu-latest
39
steps:
0 commit comments