From 94789a211784feb1fcd860a80faa16c15a73b1e0 Mon Sep 17 00:00:00 2001 From: asafdl Date: Wed, 13 Nov 2024 11:49:45 +0200 Subject: [PATCH] prettier --- .github/actions/install-deps/action.yml | 5 +-- .github/workflows/pr.yml | 51 +++++++++++++------------ 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/actions/install-deps/action.yml b/.github/actions/install-deps/action.yml index 6c193e6..a5c8e93 100644 --- a/.github/actions/install-deps/action.yml +++ b/.github/actions/install-deps/action.yml @@ -11,6 +11,5 @@ runs: - name: Install Deps shell: bash - run: | - npm ci -# npm ci --workspaces + run: | + npm ci diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 76092ae..f665bbc 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -39,7 +39,7 @@ jobs: - name: Run Build workspaces run: | - npm run build:ws + npm run build:ws - name: Require Build in PR run: | @@ -53,28 +53,29 @@ jobs: echo "$STATUS" exit 1 fi + require-build-workspaces: - name: Require Build in PR - runs-on: ubuntu-latest - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: install deps - run: npm install --workspaces - - - name: Run Build workspaces - run: npm run build:ws - - - name: Require Build in PR - run: | - STATUS=$(git status --porcelain) - - # Check if the status is not empty - if [ ! -z "$STATUS" ]; then - echo "Please build and commit your changes locally before submitting a PR." - echo "------" - echo "Uncommitted changes:" - echo "$STATUS" - exit 1 - fi + name: Require Build in PR + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: install deps + run: npm install --workspaces + + - name: Run Build workspaces + run: npm run build:ws + + - name: Require Build in PR + run: | + STATUS=$(git status --porcelain) + + # Check if the status is not empty + if [ ! -z "$STATUS" ]; then + echo "Please build and commit your changes locally before submitting a PR." + echo "------" + echo "Uncommitted changes:" + echo "$STATUS" + exit 1 + fi