-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 1003 Bytes
/
backend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
push:
branches:
- main
- glydric
pull_request:
branches:
- main
jobs:
jest-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
working-directory: "Backend"
run: npm ci
- name: Run tests
working-directory: "Backend"
run: npm test
env:
MONGO_PROTOCOL: ${{ secrets.MONGO_PROTOCOL }}
MONGO_HOST: ${{ secrets.MONGO_HOST }}
MONGO_INITDB_ROOT_USERNAME: ${{ secrets.MONGO_INITDB_ROOT_USERNAME }}
MONGO_INITDB_ROOT_PASSWORD: ${{ secrets.MONGO_INITDB_ROOT_PASSWORD }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
CSD_USER: ${{ secrets.CSD_USER }}
CSD_PASSWORD: ${{ secrets.CSD_PASSWORD }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
BCRYPT_SALT: ${{ secrets.BCRYPT_SALT }}
OPENVIDU_URL: ${{ secrets.OPENVIDU_URL }}
OPENVIDU_SECRET: ${{ secrets.OPENVIDU_SECRET }}