Skip to content

Commit

Permalink
Update order
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Jan 13, 2025
1 parent 4a05f36 commit d825475
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Setup Yarn
run: |
corepack enable
corepack prepare yarn@4.5.0 --activate
- name: Run the gen:docs command
run: yarn gen:docs

Expand All @@ -32,19 +42,6 @@ jobs:
if: steps.commit_check.outputs.has_changes == 'true'
run: git push

- name: Setup Node.js
if: steps.commit_check.outputs.has_changes == 'true'
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Setup Yarn
if: steps.commit_check.outputs.has_changes == 'true'
run: |
corepack enable
corepack prepare yarn@stable --activate
yarn set version stable
- name: Install dependencies
if: steps.commit_check.outputs.has_changes == 'true'
run: yarn add simple-git
Expand Down

0 comments on commit d825475

Please sign in to comment.