From 61add32bff62fdb32f210145e7df2858bb4bda38 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sun, 3 Oct 2021 14:04:24 +0200 Subject: [PATCH] ci: avoid crowdin step is mandatory (#2466) * avoid crowdin step is mandatory * make it fail * split step * split step * try again * try again * restore key * add comment * improve wording * test something * test something * restore key --- .github/workflows/changesets.yml | 7 ++++++- .github/workflows/ci.yml | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index b518d8a07..0a098c2da 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -46,7 +46,12 @@ jobs: run: pnpm install env: NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }} - + - name: crowdin download + env: + CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }} + CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }} + CONTEXT: production + run: pnpm crowdin:download - name: build run: pnpm build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5e1341d9..f776790e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,10 @@ jobs: CROWDIN_VERDACCIO_PROJECT_ID: ${{ secrets.CROWDIN_VERDACCIO_PROJECT_ID }} CROWDIN_VERDACCIO_API_KEY: ${{ secrets.CROWDIN_VERDACCIO_API_KEY }} CONTEXT: production - run: pnpm crowdin:download + run: pnpm crowdin:download + ## this step is optional, translations are not mandatory for PR + ## secrets keys are not available on forks, the failure here is guaranteed + continue-on-error: true - name: build run: pnpm build - name: tar packages