diff --git a/.github/actions/localization/action.yml b/.github/actions/localization/action.yml index 52c59575..cd3daaca 100644 --- a/.github/actions/localization/action.yml +++ b/.github/actions/localization/action.yml @@ -1,7 +1,7 @@ name: Localization sync description: Syncs the localization values from English to the other supported languages -input: +inputs: TRANSLATION_API_KEY: description: 'The API key for the translation service' required: true @@ -27,9 +27,11 @@ runs: cache: 'npm' - name: Install the dependencies + shell: bash run: npm ci - name: Sync localization + shell: bash run: npm run sync-localization env: TRANSLATION_API_KEY: ${{ inputs.TRANSLATION_API_KEY }} @@ -37,6 +39,7 @@ runs: TRANSLATION_API_URL: ${{ inputs.TRANSLATION_API_URL }} - name: Remove the node_modules + shell: bash run: rm -rf node_modules - uses: actions/upload-artifact@v4