Skip to content

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

KevinMind is testing out GitHub Actions πŸš€

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

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 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 "Kevin Meinhardt"
git config --global user.email "kmeinhardt@mozilla.com"
git checkout -b localization-ci
git add .
git commit -m 'test: localization'
git push -u origin localization-ci
gh pr create -B master -H localization-ci --title 'Locale BOT destroy!' --body 'Created by Github action'