-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (31 loc) · 1.02 KB
/
ci-backend-test.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
name: CI Test
on:
pull_request:
paths: ['server/**']
jobs:
build:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
PUBLIC_VAPID_KEY: ${{ secrets.PUBLIC_VAPID_KEY }}
PRIVATE_VAPID_KEY: ${{ secrets.PRIVATE_VAPID_KEY }}
WEB_PUSH_CONTACT: 'mailto:carriagedti@gmail.com'
IOS_DRIVER_ARN: ${{ secrets.IOS_DRIVER_ARN }}
IOS_RIDER_ARN: ${{ secrets.IOS_RIDER_ARN }}
ANDROID_ARN: ${{ secrets.ANDROID_ARN }}
HOSTNAME: ${{ secrets.HOSTNAME }}
USE_HOSTNAME: ${{ secrets.USE_HOSTNAME }}
EMAIL: ${{ secrets.EMAIL }}
DOMAIN: ${{ secrets.DOMAIN }}
steps:
- uses: actions/checkout@master
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install Server Dependencies
run: npm run install:server
- name: Test Server
run: npm run test:server