-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (43 loc) · 1.26 KB
/
monitor.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Monitor API contracts
on:
workflow_dispatch:
schedule:
- cron: "*/30 * * * *"
jobs:
monitor_av:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: run contract tests
uses: ./actions/contract_tests
env:
LOB_API_TEST_TOKEN: ${{ secrets.LOB_API_TEST_TOKEN }}
LOB_API_LIVE_TOKEN: ${{ secrets.LOB_API_LIVE_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
with:
testCommand: "npm run pergoalie av"
monitor_pmApi:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: run contract tests
uses: ./actions/contract_tests
env:
LOB_API_TEST_TOKEN: ${{ secrets.LOB_API_TEST_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
with:
testCommand: "npm run pergoalie pmApi"
monitor_billing:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: run contract tests
uses: ./actions/contract_tests
env:
LOB_API_TEST_TOKEN: ${{ secrets.LOB_API_TEST_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
with:
testCommand: "npm run pergoalie billing"