diff --git a/.github/scripts/run_ci.sh b/.github/scripts/run_ci.sh index e4bb382fa..5441a213b 100755 --- a/.github/scripts/run_ci.sh +++ b/.github/scripts/run_ci.sh @@ -202,14 +202,16 @@ fi # ============================================================================= if [ "$RUN_TESTS" == "1" ]; then - echo "Step: Check that the website still builds..." + if [ "$IS_LINUX" == "1" ]; then + echo "Step: Check that the website still builds..." - mkdir -p ../joplin-website/docs - ll ../joplin-website/docs/api/references/plugin_api - SKIP_SPONSOR_PROCESSING=1 yarn buildWebsite - testResult=$? - if [ $testResult -ne 0 ]; then - exit $testResult + mkdir -p ../joplin-website/docs + CROWDIN_PERSONAL_TOKEN="$CROWDIN_PERSONAL_TOKEN" yarn crowdinDownload + SKIP_SPONSOR_PROCESSING=1 yarn buildWebsite + testResult=$? + if [ $testResult -ne 0 ]; then + exit $testResult + fi fi fi diff --git a/.github/workflows/github-actions-main.yml b/.github/workflows/github-actions-main.yml index a35d76511..6d995530c 100644 --- a/.github/workflows/github-actions-main.yml +++ b/.github/workflows/github-actions-main.yml @@ -127,6 +127,7 @@ jobs: BUILD_SEQUENCIAL: 1 SERVER_REPOSITORY: joplin/server SERVER_TAG_PREFIX: server + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} run: | "${GITHUB_WORKSPACE}/.github/scripts/run_ci.sh"