Skip to content

Commit c59809b

Browse files
committed
chore(actions): document issues with lerna and checkout
1 parent 0594baf commit c59809b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
name: Publish
22

3-
# Inspired by:
43
# https://dev.to/xcanchal/automatic-versioning-in-a-lerna-monorepo-using-github-actions-4hij
54
# Problems:
65
# I tried to use github registry to publish public packages,
76
# but packages in github require auth to install even if package is public.
87
#
9-
# Lerna use npm for publish, even if npm client is set to yarn
10-
# Publish only use npm as client and it ignore any config in yarnrc and npmClient settings
11-
#
128
# Npm token will not be configured without registry-url set in actions/setup-node
139
# To configure authToken for npm both registry-url and secret is needed.
14-
#
15-
# When publishing public package, publishConfig.access need to be configured
16-
#
10+
# When publishing public package, publishConfig.access need to be configured on each package
11+
#
12+
# Lerna need fetch-depth: 0 (full fetch) on checkout to be able generate full changelog
13+
1714

1815
on:
1916
pull_request:

0 commit comments

Comments
 (0)