-
Notifications
You must be signed in to change notification settings - Fork 24
42 lines (36 loc) · 991 Bytes
/
pr-workflow.yaml
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
on: [pull_request]
name: mabl
jobs:
test:
name: Mabl Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Run checks
run: npm run check
- name: Run Tests
run: npm test
- name: Compile Typescript
run: npm run build
- name: Run mabl tests against deployment
id: mabl-test-deployment
uses: ./
env:
MABL_API_KEY: ${{ secrets.MABL_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
application-id: D6uz-lhAGBYuTTc6Jj_w0Q-a
environment-id: I9tfo2dWd7WSigXcO91feA-e
browser-types: |
chrome
plan-labels: |
canary
smoke-test
http-headers: |
X-Test-Header-1: 1234
X-Test-Header-2: 5678