Skip to content

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

KevinMind is testing out GitHub Actions πŸš€

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

Workflow file for this run

name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on:
push:
branches:
- master
pull_request:
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 gettext
run: sudo apt-get install gettext
- name: Yarn install
run: yarn install --frozen-lockfile --prefer-offline
- name: Extract locales
run: yarn run zx ./bin/locales.mjs
- name: Push Locales
run: |
event_name="${{ github.event_name }}"
ARGS=""
if [[ "$event_name" == 'pull_request' ]];
ARGS="--dry-run"
fi
./bin/push-locales $ARGS