diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index c1772462f4e2d..48d1945da8b87 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -52,6 +52,18 @@ jobs: afterBuild: pnpm lint-no-typescript && pnpm check-examples secrets: inherit + validate-docs-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: 'Run link checker' + run: node ./.github/actions/validate-docs-links/lib + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + check-types-precompiled: name: types and precompiled needs: ['build-native', 'build-next'] @@ -220,6 +232,7 @@ jobs: 'build-native', 'build-next', 'lint', + 'validate-docs-links', 'check-types-precompiled', 'test-dev', 'test-prod', diff --git a/.github/workflows/validate-docs-links.yml b/.github/workflows/validate-docs-links.yml deleted file mode 100644 index dce858e157c76..0000000000000 --- a/.github/workflows/validate-docs-links.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: 'Validate Doc Links' -on: - pull_request: - types: [opened, synchronize] - -jobs: - link-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: 'Run link checker' - run: node ./.github/actions/validate-docs-links/lib - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}