Skip to content

Commit 5f1798e

Browse files
Merge pull request #65 from creative-commoners/pulls/2.3/yarn-lock-commit
FIX Add yarn.lock to commit
2 parents 644304b + 46273c2 commit 5f1798e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,12 @@ runs:
434434
yarn install
435435
yarn build
436436
437-
# Only add client files
437+
# Only add client files and yarn.lock so that any other unmerged
438+
# files are detected later and the job will fail
439+
# Note that adding yarn.lock when it has no changes is safe and
440+
# will not result in an error i.e. `echo $?` be "0"
438441
git add client/dist
442+
git add yarn.lock
439443
fi
440444
441445
# See https://git-scm.com/docs/git-status#_output for information on the porcelain format

0 commit comments

Comments
 (0)