Skip to content

Ran the restructure script on all files in the finished_versions.txt #3

Ran the restructure script on all files in the finished_versions.txt

Ran the restructure script on all files in the finished_versions.txt #3

name: Run Prettier on
on: [push, pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
- name: Install dependencies
run: npm ci
- name: Run Prettier check
run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,scss,md,html,yml,yaml}"