Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
asafdl committed Nov 13, 2024
1 parent 4d6f16a commit 94789a2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
5 changes: 2 additions & 3 deletions .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ runs:

- name: Install Deps
shell: bash
run: |
npm ci
# npm ci --workspaces
run: |
npm ci
51 changes: 26 additions & 25 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Run Build workspaces
run: |
npm run build:ws
npm run build:ws
- name: Require Build in PR
run: |
Expand All @@ -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

0 comments on commit 94789a2

Please sign in to comment.