Skip to content

Update Node.js to v22.12.0 #1921

Update Node.js to v22.12.0

Update Node.js to v22.12.0 #1921

Workflow file for this run

name: Check Prettier
# This action works with pull requests and pushes on the main branch
on:
pull_request:
jobs:
prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run Prettier
id: prettier-run
uses: rutajdash/[email protected]
with:
config_path: ./prettier.config.js
# This step only runs if prettier finds errors causing the previous step to fail
# This steps lists the files where errors were found
- name: Prettier Output
if: ${{ failure() }}
shell: bash
run: |
echo "The following files are not formatted:"
echo "${{steps.prettier-run.outputs.prettier_output}}"