generated from peter-evans/swagger-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (40 loc) · 890 Bytes
/
lint.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
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
cache: pnpm
- run: pnpm i
- run: pnpm build
- uses: stoplightio/[email protected]
with:
file_glob: 'tsp-output/*.yaml'
library-deployment:
needs: [lint]
runs-on: ubuntu-latest
if: github.event_name == 'push'
strategy:
matrix:
repo:
- 'solvedac/api.ts'
- 'solvedac/api.rs'
steps:
- name: Invoke Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Follow Up
token: ${{ secrets.WORKFLOW_DISPATCH }}
repo: ${{ matrix.repo }}