From c35dc7dd3e0d97768821324dcd6ce79d29e603ce Mon Sep 17 00:00:00 2001 From: sua yoo Date: Mon, 11 Nov 2024 16:04:55 -0800 Subject: [PATCH] gh: remove localization build workflow --- .../workflows/frontend-localize-build.yaml | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/frontend-localize-build.yaml diff --git a/.github/workflows/frontend-localize-build.yaml b/.github/workflows/frontend-localize-build.yaml deleted file mode 100644 index 91220e3d..00000000 --- a/.github/workflows/frontend-localize-build.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: Frontend Localization Build -on: - push: - branches: - - main - paths: - - 'frontend/xliff/*.xlf' - -jobs: - setup-and-build-translation: - runs-on: ubuntu-latest - permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the - # added or changed files to the repository. - contents: write - - steps: - # Setup: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - sparse-checkout: | - frontend - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'yarn' - cache-dependency-path: frontend/yarn.lock - - name: Restore cache - uses: actions/cache@v4 - with: - path: frontend/dist - key: ${{ runner.os }}-btrix-frontend-build-${{ hashFiles('frontend/dist') }} - restore-keys: | - ${{ runner.os }}-btrix-frontend-build- - - name: Install dependencies - working-directory: frontend - env: - HUSKY: 0 - run: yarn install --frozen-lockfile - - - name: Build translation output - working-directory: frontend - run: yarn localize:build - - name: Commit translation output - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: Apply `localize:build` changes - file_pattern: 'frontend/src/__generated__/**' - skip_fetch: true - skip_checkout: true \ No newline at end of file