Skip to content

chore(deps): update module github.com/hbstack/blog/modules/related-po… #243

chore(deps): update module github.com/hbstack/blog/modules/related-po…

chore(deps): update module github.com/hbstack/blog/modules/related-po… #243

Workflow file for this run

name: Translate
on:
push:
branches:
- "main"
jobs:
translate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "19"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Translate
run: npm run translate
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Translate content in Traditional Chinese