Skip to content

fix: sas log code action should not impact others (#1308) #482

fix: sas log code action should not impact others (#1308)

fix: sas log code action should not impact others (#1308) #482

Workflow file for this run

name: Translation Check
on:
workflow_dispatch:
push:
branches:
- main
jobs:
check-translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run locale --update-locales
- run: |
CHANGES=$(git diff --name-only)
if [ -z "$CHANGES" ]
then
echo "No translations needed"
else
echo "The following files need translations:"
echo $CHANGES
exit 1
fi