-
-
Notifications
You must be signed in to change notification settings - Fork 206
31 lines (29 loc) · 804 Bytes
/
integrate.yml
File metadata and controls
31 lines (29 loc) · 804 Bytes
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
name: Frontend and Backend testing
on:
pull_request:
branches: [master]
##Branch name may need to be changed depending on name of your dev branch
jobs:
frontend_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npm run test
backend_testing:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npx jest --config __backend-tests__/jest.config.js --verbose