test: use shared as integration-tests level (#12278)

This commit is contained in:
Harminder Virk
2025-04-28 18:41:19 +05:30
committed by GitHub
parent 5f4a859911
commit 552dc52228
27 changed files with 173 additions and 213 deletions

View File

@@ -1,41 +1,42 @@
name: OAS Comments Format Validation
on:
pull_request:
paths:
- www/utils/generated/oas-output/**
pull_request:
paths:
- www/utils/generated/oas-output/**
jobs:
docs-test:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
docs-test:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16.10.0"
cache: "yarn"
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "16.10.0"
cache: "yarn"
- name: Install dependencies
uses: ./.github/actions/cache-deps
with:
extension: oas
- name: Install dependencies
uses: ./.github/actions/cache-deps
with:
extension: oas
- name: Build Packages
run: yarn build
- name: Build Packages
run: yarn build
- name: Build OAS
run: |
yarn openapi:generate --dry-run
#
- name: Build OAS
run: |
yarn openapi:generate --dry-run
#