feat: add most voted badge to bot/server cards based on monthly votes #31
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: "client: Validate Locale Files" | |
on: | |
pull_request: | |
paths: | |
- 'client/locales/**' | |
workflow_dispatch: | |
jobs: | |
validate-locale-files: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
container: | |
image: node:20 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: ./.github/actions/setup-node-env | |
with: | |
node-version: 20 | |
cache-path: .github/scripts/node_modules | |
cache-key: "${{hashFiles('.github/scripts/pnpm-lock.yaml')}}" | |
project: .github/scripts | |
- name: Run validation script | |
run: npm run client:validate-locale-files --prefix .github/scripts | |
env: | |
DEFAULT_LOCALE_CODE: en |