Skip to content

Commit e201e31

Browse files
authored
ci: Added an e2e test for testing typescript build (#388)
* Added an e2e test for testing typescript build Signed-off-by: Amulya Varote <[email protected]> * Changes based on the review comments Signed-off-by: Amulya Varote <[email protected]> * Applied prettier to the example Signed-off-by: Amulya Varote <[email protected]> * Applied pretty fix after fetching changes from main Signed-off-by: Amulya Varote <[email protected]> * Renamed files and file path Signed-off-by: Amulya Varote <[email protected]> * Changes based on the review comments Signed-off-by: Amulya Varote <[email protected]> * Adding unused variable to the logs Signed-off-by: Amulya Varote <[email protected]> * Fixing pretty-fix errors in build Signed-off-by: Amulya Varote <[email protected]> * Changed workflow title for the test Signed-off-by: Amulya Varote <[email protected]> * Changed workflow title for the test Signed-off-by: Amulya Varote <[email protected]> * Removed console log for the client Signed-off-by: Amulya Varote <[email protected]> * Added run command to test the typescript build Signed-off-by: Amulya Varote <[email protected]> Signed-off-by: Amulya Varote <[email protected]>
1 parent 93b1197 commit e201e31

File tree

5 files changed

+1087
-0
lines changed

5 files changed

+1087
-0
lines changed

.github/workflows/test-e2e.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,12 @@ jobs:
128128
id: tests
129129
run: npm run test:e2e:all
130130

131+
- name: Run E2E test to show successful typescript build
132+
id: typescript-build-test
133+
run: |
134+
cd test/e2e/typescript-build
135+
npm install
136+
dapr run --app-id typescript-build npm run start
137+
131138
- name: Upload test coverage
132139
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)