chore: nest css styles to prevent polluting the global css styles #1091
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generating Translations For strings | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-tasks: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Building phoenix | |
| env: | |
| GCP_API_KEY: ${{ secrets.GCP_API_KEY }} | |
| GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} | |
| run: | | |
| npm ci | |
| npm run _translateStrings | |
| ls -al docs | |
| shell: bash | |
| - name: Create Translation Pull Request | |
| id: cpr | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| commit-message: 'ci: update Translations' | |
| committer: GitHub <noreply@github.com> | |
| author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
| title: '[Translations BOT] Update String translations' | |
| add-paths: | | |
| src/nls/** | |
| body: | | |
| Update string translations | |
| - Auto-generated by `tranlate-languages.yml` action | |
| - name: Check outputs | |
| if: ${{ steps.cpr.outputs.pull-request-number }} | |
| run: | | |
| echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
| echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |