Skip to content

Commit 11684d6

Browse files
Tweak build action
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 6b545a3 commit 11684d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
- name: Install dependencies and build the code
2121
run: npm install
2222
- name: Verify styling
23+
id: style_verify
2324
run: npm run format-dryrun
25+
- name: Verify styling failure msg
26+
if: steps.style_verify.outcome == 'failure'
27+
run: echo "Please run 'npm run format' before commiting the code!"
2428
- name: Run build
2529
run: npm run build

0 commit comments

Comments
 (0)