Raw
1 name: OAS Comments Format Validation
2 on:
3 pull_request:
4 paths:
5 - www/utils/generated/oas-output/**
6
7 jobs:
8 docs-test:
9 runs-on: ubuntu-latest
10 env:
11 TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
12 TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
13 steps:
14 - name: Cancel Previous Runs
15 uses: styfle/cancel-workflow-action@0.11.0
16 with:
17 access_token: ${{ github.token }}
18
19 - name: Checkout
20 uses: actions/checkout@v3
21 with:
22 fetch-depth: 0
23
24 - name: Setup Node.js environment
25 uses: actions/setup-node@v4
26 with:
27 node-version: "22"
28 cache: "yarn"
29
30 - name: Install dependencies
31 uses: ./.github/actions/cache-deps
32 with:
33 extension: oas
34
35 - name: Build Packages
36 run: yarn build
37
38 - name: Build OAS
39 run: |
40 yarn openapi:generate --dry-run
41
42 #