diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8e3e35e..4c906f6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '21' # Use whatever node version your project requires + node-version: "21" # Use whatever node version your project requires - name: Install Prettier - run: npm install --save-dev prettier + run: yarn add prettier --dev - name: Check code formatting - run: npx prettier --check . + run: yarn pretty --check