Skip to content

Commit

Permalink
chore: test without ui step
Browse files Browse the repository at this point in the history
  • Loading branch information
riqwan committed Jan 4, 2024
1 parent 3357885 commit 2280c69
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/generate-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,54 +117,3 @@ jobs:
add-paths: www/apps/api-reference/specs
branch: "docs/generate-api-ref"
branch-suffix: "timestamp"
ui:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'release' || github.event.inputs.referenceName == 'all' || github.event.inputs.referenceName == 'ui' }}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.REFERENCE_PAT }}
fetch-depth: 0

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16.10.0"
cache: "yarn"

- name: Install dependencies
uses: ./.github/actions/cache-deps
with:
extension: reference

- name: Build Packages
run: yarn build

- name: Install Workspace dependencies
run: yarn install
working-directory: docs-util

- name: Build Workspace dependencies
run: yarn build
working-directory: docs-util

- name: Generate UI Specs
run: yarn generate:ui
working-directory: docs-util/packages/react-docs-generator

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "chore(docs): Generated UI Reference"
base: "develop"
title: "chore(docs): Updated UI Reference"
labels: "type: chore"
add-paths: www/apps/ui/src/specs
branch: "docs/generate-ui-ref"
branch-suffix: "timestamp"

0 comments on commit 2280c69

Please sign in to comment.