diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 59657bf..35fbaaa 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -16,7 +16,9 @@ jobs: uses: actions/setup-node@v2 with: node-version: 18.12.1 - - name: Format + - name: Install Dependencies + run: npm install + - name: Code Format run: npm run format Tests: diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index f377558..72bf756 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -16,7 +16,9 @@ jobs: uses: actions/setup-node@v2 with: node-version: 18.12.1 - - name: Format + - name: Install Dependencies + run: npm install + - name: Code Format run: npm run format Tests: diff --git a/package-lock.json b/package-lock.json index 8ca7912..df678c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "postcss": "^8", + "prettier": "^3.0.3", "prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-tailwindcss": "^0.5.11", "tailwindcss": "^3.3.0", @@ -5663,7 +5664,6 @@ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", "dev": true, - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/package.json b/package.json index 27e3be4..a0b8b26 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "postcss": "^8", + "prettier": "^3.0.3", "prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-tailwindcss": "^0.5.11", "tailwindcss": "^3.3.0",