Skip to content

chore(deps): update node.js to v22.13.0 (#480) #1736

chore(deps): update node.js to v22.13.0 (#480)

chore(deps): update node.js to v22.13.0 (#480) #1736

Workflow file for this run

name: Format
on: push
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PNPM
run: corepack enable && corepack prepare [email protected] --activate
- name: Install workspaces
run: pnpm install
- name: Run Prettier
run: pnpm format
- name: Detect diff
id: detect-diff
run: |
if [ ! -z "$(git status --short)" ]; then
echo "::set-output name=HAS_DIFF::true"
else
echo "::set-output name=HAS_DIFF::false"
fi
- name: Assert no diff
if: steps.detect-diff.outputs.HAS_DIFF == 'true'
run: |
git diff
exit 1