Skip to content

KevinMind is testing out GitHub Actions πŸš€ #9

KevinMind is testing out GitHub Actions πŸš€

KevinMind is testing out GitHub Actions πŸš€ #9

Workflow file for this run

name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install node_modules
run: yarn install --frozen-lockfile
- name: Extract locales
run: yarn extract-locales
- name: Diff changes
run: |
git_diff_stat=$(git diff --shortstat)
if [[ -z "$git_diff_stat" ]] || [[ "$git_diff_stat" == *"$DIFF_WITH_ONE_LINE_CHANGE"* ]]; then
echo "No changes to locales"
exit 0
fi