Skip to content

Commit 94789a2

Browse files
committed
prettier
1 parent 4d6f16a commit 94789a2

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/actions/install-deps/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ runs:
1111

1212
- name: Install Deps
1313
shell: bash
14-
run: |
15-
npm ci
16-
# npm ci --workspaces
14+
run: |
15+
npm ci

.github/workflows/pr.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Run Build workspaces
4141
run: |
42-
npm run build:ws
42+
npm run build:ws
4343
4444
- name: Require Build in PR
4545
run: |
@@ -53,28 +53,29 @@ jobs:
5353
echo "$STATUS"
5454
exit 1
5555
fi
56+
5657
require-build-workspaces:
57-
name: Require Build in PR
58-
runs-on: ubuntu-latest
59-
steps:
60-
- name: Checkout source code
61-
uses: actions/checkout@v4
62-
63-
- name: install deps
64-
run: npm install --workspaces
65-
66-
- name: Run Build workspaces
67-
run: npm run build:ws
68-
69-
- name: Require Build in PR
70-
run: |
71-
STATUS=$(git status --porcelain)
72-
73-
# Check if the status is not empty
74-
if [ ! -z "$STATUS" ]; then
75-
echo "Please build and commit your changes locally before submitting a PR."
76-
echo "------"
77-
echo "Uncommitted changes:"
78-
echo "$STATUS"
79-
exit 1
80-
fi
58+
name: Require Build in PR
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Checkout source code
62+
uses: actions/checkout@v4
63+
64+
- name: install deps
65+
run: npm install --workspaces
66+
67+
- name: Run Build workspaces
68+
run: npm run build:ws
69+
70+
- name: Require Build in PR
71+
run: |
72+
STATUS=$(git status --porcelain)
73+
74+
# Check if the status is not empty
75+
if [ ! -z "$STATUS" ]; then
76+
echo "Please build and commit your changes locally before submitting a PR."
77+
echo "------"
78+
echo "Uncommitted changes:"
79+
echo "$STATUS"
80+
exit 1
81+
fi

0 commit comments

Comments
 (0)