Skip to content

feat: Add Plist support #25

feat: Add Plist support

feat: Add Plist support #25

Workflow file for this run

name: Format Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
prepare_matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.generate-matrix.outputs.lts }}
steps:
- name: Select all current LTS versions of Node.js
id: generate-matrix
uses: msimerson/node-lts-versions@v1
format-check:
runs-on: macos-latest
needs:
- prepare_matrix
strategy:
fail-fast: false
matrix:
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Check formatting
# Run prettier in check mode (doesn't modify files)
run: npx prettier --check "{src,test}/**/*.{ts,tsx}"
- name: Format instructions (if check fails)
if: ${{ failure() }}
run: |
echo "::error::Formatting issues detected. Run 'npm run format' locally to fix."