Skip to content

Commit 3881649

Browse files
committed
Update workflow.yml
Signed-off-by: Sora Morimoto <[email protected]>
1 parent f460b58 commit 3881649

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
name: Main workflow
22

33
on:
4-
pull_request:
5-
branches:
6-
- master
7-
paths-ignore:
8-
- "**.md"
9-
push:
10-
branches:
11-
- master
12-
paths-ignore:
13-
- "**.md"
4+
- pull_request
5+
- push
146

157
jobs:
168
build:
@@ -55,7 +47,7 @@ jobs:
5547
shell: bash
5648
run: |
5749
yarn build
58-
if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
50+
if [ "$(git status lib --porcelain | wc -l)" -gt "0" ]; then
5951
echo "Detected uncommitted changes after build. See status below:"
6052
git diff
6153
exit 1

0 commit comments

Comments
 (0)