From 087fe6276f5b6a28738c542a3333ea5373687ff8 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 13 May 2021 14:20:01 -0500 Subject: [PATCH] chore: format workflow, format `.astro` files (#211) --- .github/workflows/format.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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",