Skip to content

Commit a93fc99

Browse files
authored
chore: add nucleus config @W-14756916 (salesforce#230)
* chore: create nucleus config * chore: format yaml
1 parent 471b06c commit a93fc99

File tree

2 files changed

+67
-3
lines changed

2 files changed

+67
-3
lines changed

.nucleus.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
branches:
2+
~DEFAULT~:
3+
pull-request: &branch-definition
4+
auto-start: true
5+
auto-start-from-forks: false
6+
merge-method: disabled # do not auto-merge; we'll do it ourselves
7+
validate-optional-downstream-deps: true # temporarily test non-required downstreams
8+
required-downstream-deps:
9+
- automation-platform/ui-externalservices-builder-components
10+
- automation-platform/ui-interaction-builder-components
11+
- automation-platform/ui-interaction-explorer-components
12+
- automation-platform/ui-interaction-orchestrator-components
13+
- BuilderFramework/builder-framework-salesforce
14+
- communities/microsite-template-marketing
15+
- communities/shared-experience-components
16+
- communities/ui-commerce-components
17+
- communities/ui-commerce-management-components
18+
- communities/ui-lightning-community
19+
- communities/webruntime
20+
- salesforce-experience-platform-emu/komaci
21+
- salesforce-experience-platform-emu/lwr
22+
- salesforce-experience-platform-emu/lwr-everywhere
23+
- Skilling-and-Enablement/storybook-utils
24+
# Based on the results of PR #229
25+
# - a360/ui-cdp-components-fe # Failed on 'install dependencies'
26+
# - communities/talon-template-byo # Failed on 'build project'
27+
# - communities/ui-b2b-components # Failed on 'Run LCT tests'
28+
# - communities/ui-cms-components # Failed on 'build project'
29+
# - communities/ui-dxp-components # Failed on 'Run tests against example app'
30+
# - communities/ui-feeds-components # Failed on 'build project'
31+
# - LightningMobileRuntime/lsdk-modules # Failed on 'install dependencies'
32+
# - omnistudio/ui-flexcards-components # Failed on 'install dependencies'
33+
# - omnistudio/ui-omniscript-components # Failed on 'install dependencies'
34+
# - omnistudio/ui-omnistudio-components # Failed on 'install dependencies'
35+
# - omnistudio/ui-omnistudiobase-components # Failed on 'install dependencies'
36+
# - salesforce-experience-platform-emu/lightning-components # Long-running
37+
# - salesforce-experience-platform-emu/lws-apps # Failed on 'install dependencies'
38+
# - Skilling-and-Enablement/ui-external-enablement # Failed on 'run unit test'
39+
# - Skilling-and-Enablement/ui-in-app-guidance # Failed on 'run unit tests'
40+
# - Skilling-and-Enablement/ui-ses-experience-cloud # Failed on 'run unit test'
41+
(winter|spring|summer)[2-9][0-9]:
42+
pull-request:
43+
<<: *branch-definition
44+
steps:
45+
node-conformance:
46+
run:
47+
command: yarn run lint
48+
after: node-build
49+
node-unit-tests:
50+
run:
51+
command: yarn test
52+
node-pre-release-tests:
53+
params:
54+
command: yarn test
55+
npm-configure:
56+
params:
57+
registry-url: https://registry.yarnpkg.com
58+
npm-configure-for-publish:
59+
params:
60+
registry-url: https://registry.npmjs.org
61+
npm-publish-release:
62+
params:
63+
access: public
64+
tag: latest # note: this should be summer22, winter23, etc. if this .nucleus.yaml file is in a non-master branch

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"test": "jest --no-cache",
88
"clean": "lerna run clean && lerna clean --yes && rm -rf node_modules",
99
"lint": "eslint packages/ test/ --ext=js,mjs,ts",
10-
"format": "prettier --write '{packages,test}/**/*.{js,mjs,ts,json,md}'",
11-
"format:check": "prettier --check '{packages,test}/**/*.{js,mjs,ts,json,md}'",
10+
"format": "prettier --write '{packages,test}/**/*.{js,mjs,ts,json,md,yaml}'",
11+
"format:check": "prettier --check '{packages,test}/**/*.{js,mjs,ts,json,md,yaml}'",
1212
"release:publish:ci": "./scripts/release/publish.js",
1313
"release:version": "./scripts/release/version.js"
1414
},
@@ -38,7 +38,7 @@
3838
},
3939
"lint-staged": {
4040
"**/*.{js,mjs,ts}": "eslint --fix",
41-
"**/*.{js,mjs,ts,json,md}": "prettier --write"
41+
"**/*.{js,mjs,ts,json,md,yaml}": "prettier --write"
4242
},
4343
"volta": {
4444
"node": "18.18.0",

0 commit comments

Comments
 (0)