Skip to content

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

KevinMind is testing out GitHub Actions πŸš€

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

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: |
diff_result=$(git diff --numstat HEAD -- ./locale/templates/LC_MESSAGES/amo.pot)
if [[ $diff_result -le 2 ]]; then
echo "nothing to do"
exit 0
fi