Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add i18n check to github actions #895

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading