From d7a44b33adab7495d8427ed9d7a32dadff911850 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Fri, 16 Jul 2021 16:11:11 +0700 Subject: [PATCH] ci: foresee problem with pull request --- .github/workflows/pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8f587a0..52602f3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -39,8 +39,11 @@ jobs: run: yarn - name: Lint - run: yarn lint + run: npx eslint --ext .svelte,.js,.ts --ignore-path .gitignore . + - name: Formatting + run: npx prettier --check --ignore-path .gitignore --plugin-search-dir=. "./**/*.(ts|json|js|svelte)" + - name: Build run: yarn build env: