Skip to content

Adjusted config

Adjusted config #22

name: Prettier Check
on:
push:
branches:
- '*'
- '!main'
jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Setup Node.js environment
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Prettier Check
run: npx prettier --check .