forked from salesforce/lwc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nucleus.yaml
73 lines (73 loc) · 2.26 KB
/
.nucleus.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
core-deploy:
enabled: true
project-modules:
lwc: lwc.version
branches:
~DEFAULT~:
pull-request: &branch-definition
auto-start: true
auto-start-from-forks: false
merge-method: disabled # do not auto-merge; we'll do it ourselves
required-downstream-deps:
- Guardrails/analyzer-framework
- LightningMobileRuntime/ui-lmr-components
- MobilePlatform/lds-debug-app
- Trailhead-Platform/ui-trailhead-core-components
- automation-platform/ui-interaction-explorer-components
- communities/shared-experience-components
- communities/ui-feeds-components
- communities/ui-lightning-community
- communities/webruntime
- lwc/lwc-platform
- nrkruk/lwc-dev-core
- ris-gpta/core_via_components
- salesforce/builder-framework
- salesforce-experience-platform-emu/luvio
- salesforce-experience-platform-emu/lwr
- salesforce/lwr-lightning-platform
- salesforcedevs/doc-framework-monorepo
release:
pull-request:
<<: *branch-definition
merge-method: force-push # release branch should always be in sync with master branch (linear history)
summer23:
pull-request:
<<: *branch-definition
winter23:
pull-request:
<<: *branch-definition
spring23:
pull-request:
<<: *branch-definition
steps:
node-conformance:
run:
command: yarn run lint
after: node-build
node-unit-tests:
run:
command: yarn test
# this project runs yarn build after yarn install so skip explicit build step
node-build: &node-build
skip: true
node-pre-release-tests:
params:
command: yarn test
npm-configure:
params:
registry-url: https://registry.yarnpkg.com
npm-configure-for-publish:
params:
registry-url: https://registry.npmjs.org
node-save-dep-cache: &node-save-dep-cache
params:
paths:
# it's necessary to redeclare **/node_modules because this overrides the default behavior
- '**/node_modules'
# add NX cache
- '.nx-cache'
after: node-build
npm-publish-release:
params:
access: public
tag: latest # note: this should be summer22, winter23, etc. if this .nucleus.yaml file is in a non-master branch