From 0045875d40cec7ac49fa8043aa73538fddb1c495 Mon Sep 17 00:00:00 2001 From: Callum Macdonald Date: Mon, 29 Jan 2024 19:30:50 +0100 Subject: [PATCH] Remove i18n extract workflow. --- .github/workflows/extract-i18n.yml | 43 ------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/extract-i18n.yml diff --git a/.github/workflows/extract-i18n.yml b/.github/workflows/extract-i18n.yml deleted file mode 100644 index 035fdf174b..0000000000 --- a/.github/workflows/extract-i18n.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Extract new translation strings - -on: - push: - branches: [master] - -jobs: - i18n: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: 16 - - name: Install npm v7 - run: | - npm --global install npm@latest-7 - - name: Cache Node.js modules - uses: actions/cache@v2 - with: - path: | - ~/.node-gyp - ~/.npm - key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-node- - ${{ runner.OS }}- - - name: Install dependencies - run: npm ci - - name: Extract strings - run: | - npm run i18n:extract - - name: Reformat plural strings for Weblate - run: | - npm run i18n:fix-weblate - - name: Commit changes - uses: EndBug/add-and-commit@v7 - with: - default_author: github_actions - message: 'Exctract locales [skip ci]' - add: 'public/locales/en/*.json'