-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (41 loc) · 985 Bytes
/
validate.yml
File metadata and controls
43 lines (41 loc) · 985 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
32
33
34
35
36
37
38
39
40
41
42
43
name: validate
on:
workflow_dispatch:
inputs:
environment:
description: 'the environment to validate'
required: true
default: 'staging'
type: choice
options:
- prod
- staging
- dev
workflow_call:
inputs:
environment:
description: 'the environment to validate'
required: true
default: 'staging'
type: string
secrets:
TEST_TENANT_ID:
required: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
cache-dependency-path: "**/yarn.lock"
- name: install
run: yarn install
- run: yarn integration:$ENVIRONMENT
env:
ENVIRONMENT: ${{ inputs.environment }}
TEST_TENANT_ID: ${{ secrets.TEST_TENANT_ID }}