diff options
author | 2021-05-13 14:20:01 -0500 | |
---|---|---|
committer | 2021-05-13 14:20:01 -0500 | |
commit | 087fe6276f5b6a28738c542a3333ea5373687ff8 (patch) | |
tree | a42082bb9c6f2e15935411e83b6e2bb0418886d6 | |
parent | 7a3e1c2d4c137ca47c228ce8c9848ced0748a82c (diff) | |
download | astro-087fe6276f5b6a28738c542a3333ea5373687ff8.tar.gz astro-087fe6276f5b6a28738c542a3333ea5373687ff8.tar.zst astro-087fe6276f5b6a28738c542a3333ea5373687ff8.zip |
chore: format workflow, format `.astro` files (#211)
-rw-r--r-- | .github/workflows/format.yml | 1 | ||||
-rw-r--r-- | package.json | 2 |
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", |