File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish
2
2
3
- # Inspired by:
4
3
# https://dev.to/xcanchal/automatic-versioning-in-a-lerna-monorepo-using-github-actions-4hij
5
4
# Problems:
6
5
# I tried to use github registry to publish public packages,
7
6
# but packages in github require auth to install even if package is public.
8
7
#
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
- #
12
8
# Npm token will not be configured without registry-url set in actions/setup-node
13
9
# 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
+
17
14
18
15
on :
19
16
pull_request :
You can’t perform that action at this time.
0 commit comments