chore: format workflow, format .astro files (#211)

This commit is contained in:
Nate Moore 2021-05-13 14:20:01 -05:00 committed by GitHub
parent 7a3e1c2d4c
commit 087fe6276f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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",