Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
/ lingui-action Public archive

🔥 Error: Uncommitted changes in some of the .po files! Run `yarn extract` locally and resolve them.

License

Notifications You must be signed in to change notification settings

trisbee/lingui-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🔥 Error: Uncommitted changes in some of the .po files! Run `yarn extract` locally and resolve them.

Topics

Resources

License

Stars

Watchers

Forks

Languages