0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

ci: enable codegen errors job (#7961)

This commit is contained in:
Emanuele Stoppa 2023-08-04 16:54:11 +01:00 committed by GitHub
parent 0fd6dc7ec7
commit 9ad0d326f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,24 +230,23 @@ jobs:
- name: Remove docs translations except for English and Korean - name: Remove docs translations except for English and Korean
run: find smoke/docs/src/content/docs ! -name 'en' ! -name 'ko' -type d -mindepth 1 -maxdepth 1 -exec rm -rf {} + run: find smoke/docs/src/content/docs ! -name 'en' ! -name 'ko' -type d -mindepth 1 -maxdepth 1 -exec rm -rf {} +
# TODO: enable when the script is updated - name: Check if docs changed
# - name: Check if docs changed id: changes
# id: changes uses: dorny/paths-filter@v2
# uses: dorny/paths-filter@v2 with:
# with: filters: |
# filters: | docs:
# docs: - 'packages/integrations/*/README.md'
# - 'packages/integrations/*/README.md' - 'packages/astro/src/@types/astro.ts'
# - 'packages/astro/src/@types/astro.ts' - 'packages/astro/src/core/errors/errors-data.ts'
# - 'packages/astro/src/core/errors/errors-data.ts'
# - name: Build autogenerated docs pages from current astro branch
# - name: Build autogenerated docs pages from current astro branch if: ${{ steps.changes.outputs.docs == 'true' }}
# if: ${{ steps.changes.outputs.docs == 'true' }} run: cd smoke/docs && pnpm docgen && pnpm docgen:errors && pnpm docgen:integrations
# run: cd smoke/docs && pnpm docgen && pnpm docgen:errors && pnpm docgen:integrations env:
# env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SOURCE_REPO: ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }}
# SOURCE_REPO: ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} SOURCE_BRANCH: ${{ github.head_ref || github.ref_name }}
# SOURCE_BRANCH: ${{ github.head_ref || github.ref_name }}
- name: Test - name: Test
run: pnpm run test:smoke run: pnpm run test:smoke