Skip to content

Commit

Permalink
fix(TMC-28189): cypress need esm (improvements)
Browse files Browse the repository at this point in the history
  • Loading branch information
smouillour committed Jun 11, 2024
1 parent d053412 commit 93822a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/design-system-component-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
yarn cypress install
yarn workspace @talend/assets-api run build:lib:esm
yarn workspace @talend/utils run build:lib:esm
yarn workspace @talend/icons run build:lib
yarn workspace @talend/icons run build:lib:esm
yarn workspace @talend/design-tokens run build:lib
yarn workspace @talend/design-tokens run build:lib:esm
- name: Cypress Component Testing
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:umd:dev": "talend-scripts build --umd --dev",
"build:umd:prod": "talend-scripts build --umd",
"build:lib": "talend-scripts build && yarn build:umd:dev && yarn build:umd:prod && yarn test:umd",
"build:lib:esm": "yarn build:lib && talend-scripts build --esm && cpx 'dist/*' lib-esm/dist --verbose",
"build:lib:esm": "talend-scripts build --esm",
"test": "echo no test for @talend/design-tokens",
"test:cov": "echo no test for @talend/design-tokens",
"test:umd": "jest scripts/umd.test.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build-react": "node scripts/react.js",
"build-webfont": "webpack",
"build:lib": "npm run ts:types && npm run build-ts && npm run build-react && npm run build-webfont && npm run build-umd",
"build:lib:esm": "npm run ts:types && npm run build-ts && npm run build-react && npm run build-webfont && talend-scripts build --esm && cpx 'src/**/*.{svg,json}' lib-esm/src --verbose",
"build:lib:esm": "talend-scripts build --esm",
"ts:types": "node scripts/typescript.js",
"test": "echo no test",
"test:cov": "echo no test",
Expand Down

0 comments on commit 93822a9

Please sign in to comment.