chore(deps): update dependency typedoc-plugin-markdown to v4.0.2 (#1464) #3268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke Tests | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
paths: | |
- "Earthfile" | |
- "packages/**/*" | |
- "config/*" | |
- "*.json" | |
- ".github/workflows/smoke.yml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
smoke: | |
name: Smoke Tests on Docusaurus ${{ matrix.docusaurus }} | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
strategy: | |
fail-fast: false | |
matrix: | |
docusaurus: [2, 3] | |
steps: | |
- name: Install earthly | |
uses: earthly/actions-setup@v1 | |
with: | |
version: latest | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run Smoke Tests | |
run: earthly --ci --build-arg docusaurusVersion=${{ matrix.docusaurus }} github.com/graphql-markdown/graphql-markdown:${GITHUB_REF#refs/heads/}+smoke-test | |
env: | |
EARTHLY_NO_CACHE: true | |
- name: Docusaurus Production Smoke Build without parameters and local schema | |
run: earthly --ci --build-arg docusaurusVersion=${{ matrix.docusaurus }} github.com/graphql-markdown/graphql-markdown:${GITHUB_REF#refs/heads/}+smoke-run | |
- name: Docusaurus Production Smoke Build with parameters and remote schema | |
run: earthly --ci --build-arg OPTIONS="$OPTIONS" --build-arg docusaurusVersion=${{ matrix.docusaurus }} github.com/graphql-markdown/graphql-markdown:${GITHUB_REF#refs/heads/}+smoke-run | |
env: | |
OPTIONS: "--homepage data/anilist.md --schema https://graphql.anilist.co/ --force" | |
- name: Docusaurus Production Smoke Build with groupByDirective option | |
run: earthly --ci --build-arg OPTIONS="$OPTIONS" --build-arg docusaurusVersion=${{ matrix.docusaurus }} github.com/graphql-markdown/graphql-markdown:${GITHUB_REF#refs/heads/}+smoke-run | |
env: | |
OPTIONS: "--homepage data/groups.md --schema data/schema_with_grouping.graphql --groupByDirective @doc(category|=Common) --base group-by --skip @noDoc" |