CLDR-18189 BRS 46.1 fix ToC #517
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: kbd-check | |
on: | |
push: | |
paths: | |
- 'keyboards/**' | |
- '.github/workflows/keyboard.yml' | |
pull_request: | |
paths: | |
- 'keyboards/**' | |
- '.github/workflows/keyboard.yml' | |
jobs: | |
keyboard-compile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: false | |
if: github.event.inputs.git-ref == '' | |
- name: Clone Repository (manual ref) | |
uses: actions/checkout@v4 | |
with: | |
lfs: false | |
ref: ${{ github.event.inputs.git-ref }} | |
if: github.event.inputs.git-ref != '' | |
- name: Cache local npm repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-nodekbd-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nodekbd- | |
nodekbd- | |
- name: Install kmc | |
run: npm install -g @keymanapp/kmc | |
- name: Compile Keyboards | |
run: kmc --error-reporting build keyboards/3.0/*.xml | |
- name: Run Kbd Charts | |
run: 'cd docs/charts/keyboards && npm ci && npm run build' |