File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -1032,6 +1032,31 @@ jobs:
1032
1032
working_directory : test-binary
1033
1033
command : $(npm bin)/cypress info
1034
1034
1035
+ test-types-cypress-and-jest :
1036
+ << : *defaults
1037
+ steps :
1038
+ - attach_workspace :
1039
+ at : ~/
1040
+ # make sure we have cypress.zip received
1041
+ - run : ls -l
1042
+ - run : ls -l cypress.zip cypress.tgz
1043
+ - run : mkdir test-cypress-and-jest
1044
+ - run : node --version
1045
+ - run : npm --version
1046
+ - run :
1047
+ name : Create new NPM package
1048
+ working_directory : test-cypress-and-jest
1049
+ command : npm init -y
1050
+ - run :
1051
+ name : Test types clash
1052
+ working_directory : test-cypress-and-jest
1053
+ environment :
1054
+ CYPRESS_INSTALL_BINARY : /root/cypress/cypress.zip
1055
+ command : |
1056
+ npm install /root/cypress/cypress.tgz typescript jest @types/jest
1057
+ echo "console.log('hello world')" > hello.ts
1058
+ npx tsc --noEmit
1059
+
1035
1060
# install NPM + binary zip and run against staging API
1036
1061
" test-binary-against-staging " :
1037
1062
<< : *defaults
@@ -1354,6 +1379,10 @@ linux-workflow: &linux-workflow
1354
1379
requires :
1355
1380
- build-binary
1356
1381
- build-npm-package
1382
+ - test-types-cypress-and-jest :
1383
+ requires :
1384
+ - build-binary
1385
+ - build-npm-package
1357
1386
- post-pre-release-install-comment :
1358
1387
context : test-runner:commit-status-checks
1359
1388
filters :
You can’t perform that action at this time.
0 commit comments