Skip to content

Lingui action

Actions
Detect uncommitted changes in some of the .po files
v1
Latest
Star (2)

Lingui action

  1. run cli command for extract locales
  2. if there are any changes in these files suggest to resolve them and exit
  3. result is stable localization files in master branch 🚀

Usage

You have to use yarn and have script extract in project package.json.

{
  "scripts": {
    "extract": "lingui extract",
    "compile": "lingui compile"
  } 
}

Example workflow

- uses: actions/setup-node@v3
- uses: actions/checkout@v3
  
# this step will be different for every project
- name: 'Install dependencies'
- run: |
    corepack enable
    yarn set version 3.2.0
    yarn install --silent
  
- uses: trisbee/lingui-action@v1

Links

Lingui action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Detect uncommitted changes in some of the .po files
v1
Latest

Lingui action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.