diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f7b5cf21ad..3294a404d6 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -21,6 +21,7 @@ jobs: - run: yarn --frozen-lockfile --ignore-engines env: CI: true + - run: yarn lerna run build --scope astro-parser - run: yarn format - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 diff --git a/package.json b/package.json index 889d9791eb..3adb7787ae 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build:core": "lerna run build --scope astro --scope astro-parser --scope create-astro", "build:vscode": "lerna run build --scope astro-languageserver --scope astro-vscode", "dev:vscode": "lerna run dev --scope astro-languageserver --scope astro-vscode --parallel --stream", - "format": "prettier -w '**/*.{js,jsx,ts,tsx,md,json}'", + "format": "prettier -w '**/*.{js,jsx,ts,tsx,md,json,astro}'", "lint": "eslint 'packages/**/*.ts'", "test": "yarn test:core && yarn test:prettier", "test:core": "cd packages/astro && npm test",