Skip to content

Fix formatting in DOM Form Elements description #9

Fix formatting in DOM Form Elements description

Fix formatting in DOM Form Elements description #9

name: Translation Sync Tracker
on:
push:
branches: [staging]
paths:
- 'src/content/examples/en/**'
pull_request:
branches: [staging]
paths:
- 'src/content/examples/en/**'
workflow_dispatch:
jobs:
track-translation-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2 # Fetch previous commit to compare changes
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Install translation tracker dependencies
run: cd .github/actions/translation-tracker && npm install
- name: Run translation tracker
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node .github/actions/translation-tracker/index.js