Skip to content

Running formatting check #115

Running formatting check

Running formatting check #115

Workflow file for this run

name: Formatting Check
run-name: Running formatting check
on: [push]
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Run npm install
run: npm ci
- name: Run prettier
id: prettier
continue-on-error: true
run: |
echo "files=$(npx prettier . -l | sed -e '1,4d' )" >> "$GITHUB_ENV"
- name: generate errors/summary
run: .github/workflows/generateCheck.sh
env:
status: ${{ steps.prettier.outcome }}