forked from floydspace/serverless-esbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bug in yarn packager rebase logic; legacy logger bug; fix integr…
…ation tests
- Loading branch information
1 parent
f60b9f5
commit d976e9f
Showing
10 changed files
with
80 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.test-artifacts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
test-e2e: test-e2e-minimal test-e2e-individually test-e2e-complete | ||
|
||
build: | ||
build: | ||
npm run build | ||
npm link | ||
|
||
test-e2e-minimal: build | ||
rm -fr ./e2e/minimal && mkdir ./e2e/minimal && rsync -r ./examples/minimal/ ./e2e/minimal/ | ||
cd ./e2e/minimal && npm i && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/minimal/.serverless && unzip minimal-example.zip | ||
rm -fr ./e2e/.test-artifacts && mkdir -p ./e2e/.test-artifacts/minimal && rsync -r ./examples/minimal/ ./e2e/.test-artifacts/minimal/ | ||
cd ./e2e/.test-artifacts/minimal && npm i && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/.test-artifacts/minimal/.serverless && unzip minimal-example.zip | ||
npx jest -c jest.config.e2e.js --ci ./e2e/minimal.test.ts | ||
rm -fr ./e2e/minimal | ||
rm -fr ./e2e/.test-artifacts | ||
|
||
test-e2e-individually: build | ||
rm -fr ./e2e/individually && mkdir ./e2e/individually && rsync -r ./examples/individually/ ./e2e/individually/ | ||
cd ./e2e/individually && npm i && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/individually/.serverless && unzip hello1.zip && unzip hello2.zip | ||
rm -fr ./e2e/.test-artifacts && mkdir -p ./e2e/.test-artifacts/individually && rsync -r ./examples/individually/ ./e2e/.test-artifacts/individually/ | ||
cd ./e2e/.test-artifacts/individually && yarn install && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/.test-artifacts/individually/.serverless && unzip hello1.zip && unzip hello2.zip | ||
npx jest -c jest.config.e2e.js --ci ./e2e/individually.test.ts | ||
rm -fr ./e2e/individually | ||
rm -fr ./e2e/.test-artifacts | ||
|
||
test-e2e-complete: build | ||
rm -fr ./e2e/complete && mkdir ./e2e/complete && rsync -r ./examples/complete/ ./e2e/complete/ | ||
cd ./e2e/complete && npm i && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/complete/.serverless && unzip complete-example.zip | ||
rm -fr ./e2e/.test-artifacts && mkdir -p ./e2e/.test-artifacts/complete && rsync -r ./examples/complete/ ./e2e/.test-artifacts/complete/ | ||
cd ./e2e/.test-artifacts/complete && npm i && npm link serverless-esbuild && npx sls package | ||
cd ./e2e/.test-artifacts/complete/.serverless && unzip complete-example.zip | ||
npx jest -c jest.config.e2e.js --ci ./e2e/complete.test.ts | ||
rm -fr ./e2e/complete | ||
rm -fr ./e2e/.test-artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.