summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/format.yml1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index f7b5cf21a..3294a404d 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 889d9791e..3adb7787a 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",