chore(git): Rename templatesManifestFolder (#4946) #4294
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: Compile Localization Files | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run: | |
name: Compile Localization Files | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, 'Localized file check-in by OneLocBuild Task') | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.AUTOMATION_PAT }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.x | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9.1.3 | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
- name: Update source code | |
run: npm run compile:loc | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: Loc Bot | |
author_email: travisharris@microsoft.com | |
message: 'Compiling Loc Files' | |
add: '*.json' |