about summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-12-01 11:14:10 -0600
committerGitHub <noreply@github.com>2023-12-01 09:14:10 -0800
commitedc9ac272c57312289e8fd0c73aa599d3c6b0a11 (patch)
tree8d7411bcedf1ec7b48f3ddf2fb622bfcdbde9d36 /.github
parentb05cf9f3c113f94da8233cb67fb6f3f41d6f54bc (diff)
downloadvoidsky-edc9ac272c57312289e8fd0c73aa599d3c6b0a11.tar.zst
Add Lingui check to CI (#2058)
* Install lingui eslint plugin, ignore compiled files

* Add lingui step to Lint workflow

* Run check in other job

* Add compile step to web build

* Temp: add a new string to test with

* Add message

* Revert "Temp: add a new string to test with"

This reverts commit ef5459d00c3ea9798279e000a5ac43effc117486.

* Un-track compiled files

* Add check scripts to package.json, build step

* Make sure to compile translations prior to test/typecheck

* Rename scripts
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1d2a032c1..29a50adbb 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -20,6 +20,8 @@ jobs:
         run: yarn --frozen-lockfile
       - name: Lint check
         run: yarn lint
+      - name: Check & compile i18n
+        run: yarn intl:build
       - name: Type check
         run: yarn typecheck
   testing:
@@ -34,6 +36,8 @@ jobs:
         uses: actions/checkout@v3
       - name: Yarn install
         run: yarn --frozen-lockfile
+      - name: Check & compile i18n
+        run: yarn intl:build
       - name: Run tests
         run: |
           yarn test --forceExit