fix test and try splitting steps #534
Workflow file for this run
This file contains 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: Build translations | |
# on: | |
# pull_request: | |
# paths: | |
# - "extension/**/*" | |
# jobs: | |
# test: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# persist-credentials: false | |
# fetch-depth: 0 | |
# - uses: actions/setup-node@v1 | |
# with: | |
# node-version: "16.14.0" | |
# - name: Run translation job | |
# run: | | |
# yarn && yarn build:freighter-api && yarn build:extension:translations | |
# - name: Verify diff | |
# id: verify_diff | |
# run: | | |
# git diff --quiet || echo "::set-output name=new_translations_exist::true" | |
# - name: Commit files | |
# if: steps.verify_diff.outputs.new_translations_exist == 'true' | |
# run: | | |
# git config --local user.email "[email protected]" | |
# git config --local user.name "GitHub Action" | |
# git commit -m "Add translations" -a | |
# - name: Push changes | |
# uses: ad-m/github-push-action@master | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# branch: ${{ github.head_ref }} | |
# - name: test | |
# run: yarn test:ci |