Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/translate-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
setup:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
outputs:
changed_files: ${{ steps.changed.outputs.files }}
force_full: ${{ steps.changed.outputs.force_full }}
Expand Down Expand Up @@ -99,7 +101,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
needs: setup

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Download workspace
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -144,7 +147,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: setup

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Download workspace
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -201,7 +205,8 @@ jobs:
timeout-minutes: 30
needs: [setup, translate-catchup]
if: needs.setup.outputs.changed_files != '' && needs.setup.outputs.force_full != 'true'

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Download workspace
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -255,7 +260,8 @@ jobs:
timeout-minutes: 10
needs: [setup, translate-openapi, translate-catchup, translate-incremental]
if: always() && needs.translate-catchup.result == 'success' && needs.translate-openapi.result == 'success'

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout main branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -294,6 +300,8 @@ jobs:
run: npm ci

- name: Update docs.json with languages
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: npx ts-node scripts/update-docs-config.ts

- name: Verify translations
Expand Down