Skip to content

Commit 675fef3

Browse files
authored
chore(scripts): add build and test scripts for ci (#4085)
1 parent 612c96d commit 675fef3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"bootstrap": "yarn",
99
"bootstrap:ci": "yarn install --frozen-lockfile",
1010
"build:all": "yarn build:crypto-dependencies && lerna run build",
11+
"build:ci": "lerna run build --since main --include-dependencies",
1112
"build:clients:generic": "lerna run --scope '@aws-sdk/aws-echo-service' --include-dependencies build",
1213
"build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')",
1314
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build",
@@ -27,6 +28,7 @@
2728
"lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --yes",
2829
"local-publish": "node ./scripts/verdaccio-publish/index.js",
2930
"test:all": "yarn build:all && jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions",
31+
"test:ci": "lerna run test --since main --exclude-dependents",
3032
"test:e2e": "yarn build:e2e && node ./tests/e2e/index.js",
3133
"test:functional": "jest --passWithNoTests --config tests/functional/jest.config.js && lerna run test:unit --scope \"@aws-sdk/client-*\"",
3234
"test:integration": "jest --config jest.config.integ.js --passWithNoTests",

0 commit comments

Comments
 (0)