Skip to content

Integrated MUI & friendspage wip #12

Integrated MUI & friendspage wip

Integrated MUI & friendspage wip #12

Workflow file for this run

name: Prettier Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
prettier:
name: Run Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 21.1.0
- name: Install dependencies
run: npm ci --only=dev
- name: Run Prettier
run: npm run prettier:github-action
- name: Check Prettier formatting
id: prettier-status
run: |
npm run prettier:github-action || echo 'failed'
echo "::set-output name=prettier-status::${{ steps.prettier-status.outputs.stdout }}"