Enable linting build phase (#966)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-02-10 10:04:18 +01:00
committed by GitHub
parent d91b6c4473
commit ef4d632047
85 changed files with 1004 additions and 217 deletions
+32
View File
@@ -105,6 +105,38 @@ jobs:
- name: Checking svelte sources...
run: node common/scripts/install-run-rush.js svelte-check
linting:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache build results
uses: actions/cache@v2
env:
cache-name: cache-build-results
with:
path: |
cloud
common
deploy
dev
models
packages
plugins
pods
server
templates
tests
rush.json
.prettierrc
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
- name: Linting...
run: node common/scripts/install-run-rush.js lint
test:
needs: build
runs-on: ubuntu-latest