KevinMind is testing out GitHub Actions π #28
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: 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 gettext | |
run: sudo apt-get install gettext | |
- name: Install node_modules | |
run: yarn install --frozen-lockfile --prefer-offline | |
- name: Extract locales | |
run: yarn run zx ./bin/locales.mjs | |
- name: Commit locales | |
run: | | |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" | |
git config --global user.email "[email protected]" | |
git checkout -b localization-ci | |
git add ./locales | |
git commit -m 'test: localization' | |
git push -u origin localization-ci | |