-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 983 Bytes
/
tyk-dev.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
# Tyk developer pipeline -- perform validation and linting of API definitions and policies if needed for dev env APIs.
# This dev workflow will triggered if any PRs have been made specifically to the dev directory.
name: Tyk Development Workflow
# Execute workflow on dev pull requests
on:
pull_request:
paths:
- 'dev/**'
push:
paths:
- 'dev/**'
jobs:
# Run linter and validation workflow
tyk-lint:
uses: ./.github/workflows/tyk-lint.yml
with:
environment: 'dev'
# Set up staging APIs and Policies if the Dev assets pass the linter / validation
tyk-set-up-staging:
needs: tyk-lint
uses: ./.github/workflows/tyk-staging.yml
secrets: inherit
# Set up prod APIs and Policies if the Dev assets pass the linter / validation
tyk-set-up-prod:
needs: tyk-set-up-staging
uses: ./.github/workflows/tyk-production.yml
secrets: inherit