From 1af97f6681a9fdb1bee1a27a30c91412dea3cb6d Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Thu, 8 Aug 2024 10:33:07 +0200 Subject: [PATCH] update web workflow Format steps to use npm run format:check --- .github/workflows/deploy-webui.yml | 3 +++ .github/workflows/web-tests.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-webui.yml b/.github/workflows/deploy-webui.yml index c6d373d65..c1d184d9b 100644 --- a/.github/workflows/deploy-webui.yml +++ b/.github/workflows/deploy-webui.yml @@ -46,6 +46,9 @@ jobs: - name: Lint run: npm run lint working-directory: ./web/explorer + - name: Format + run: npm run format:check + working-directory: ./web/explorer - name: Run unit tests run: npm run test working-directory: ./web/explorer diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml index 2fcd8f30c..2977656df 100644 --- a/.github/workflows/web-tests.yml +++ b/.github/workflows/web-tests.yml @@ -34,7 +34,7 @@ jobs: working-directory: ./web/explorer - name: Format - run: npm run format + run: npm run format:check working-directory: ./web/explorer - name: Run unit tests