Skip to content

Commit

Permalink
Add i18n check to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
estellecomment committed Feb 8, 2024
1 parent 937feca commit 8370844
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tchap_static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,26 @@ jobs:
- name: Run Linter
run: "yarn run lint:style"

i18n:
name: "i18n check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Node Version
id: node_version
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)')
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: ${{ steps.node_version.outputs.node_version }}

# Needs branch matching as it inherits .stylelintrc.js from matrix-react-sdk
- name: Install Dependencies
run: "yarn install --pure-lockfile"

- name: Run i18n-tchap
run: "yarn i18n-tchap"

# tchap : fix this https://github.com/tchapgouv/tchap-web-v4/issues/767
# analyse_dead_code:
# name: "Analyse Dead Code"
Expand Down

0 comments on commit 8370844

Please sign in to comment.