Correct perms for dist folder, explicit copy & remove old .dockerignore #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: I18n Check | |
on: | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
i18n: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '22' | |
- name: Install dependencies | |
run: yarn install | |
- name: Run i18n generation | |
run: yarn i18n | |
- name: Check for changes | |
run: | | |
if [[ $(git status --porcelain) ]]; then | |
echo "i18n generation caused changes, failing the build." | |
git diff | |
exit 1 | |
else | |
echo "No changes detected." | |
fi |