chore: format workflow, format .astro
files (#211)
This commit is contained in:
parent
7a3e1c2d4c
commit
087fe6276f
2 changed files with 2 additions and 1 deletions
1
.github/workflows/format.yml
vendored
1
.github/workflows/format.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue