Skip to content

[CONFIG] [Github Actions] lint and test actions splitted #3

[CONFIG] [Github Actions] lint and test actions splitted

[CONFIG] [Github Actions] lint and test actions splitted #3

Workflow file for this run

---
name: Prettier JSON
on: # yamllint disable-line rule:truthy
push:
branches: ['main']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main']
workflow_dispatch:
jobs:
build:
name: 'Prettier JSON'
runs-on: ['ubuntu-24.04']
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24.x
- name: Install Prettier
run: |
npm install --include=dev [email protected]
- name: Prettier LINT / Style JSON
run: >
prettier --check ./src/**/*.json