Skip to content

Commit c876005

Browse files
committed
ci: separating build commands
1 parent a2b7cd6 commit c876005

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/cypress.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
- uses: bahmutov/npm-install@v1
1616

1717
- run: yarn build
18+
- run: yarn build:es
19+
- run: yarn build:all
1820

1921
- name: Cypress dependencies
2022
uses: cypress-io/github-action@v2

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
node-version: ${{ matrix.node-version }}
2323
- uses: bahmutov/npm-install@v1
2424
- run: yarn build
25+
- run: yarn build:es
26+
- run: yarn build:all
2527
- run: yarn lint
2628
- run: yarn test --coverage --testTimeout 20000
2729
env: { CI: 1 }

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"scripts": {
1919
"exec:all": "lerna exec",
2020
"run:all": "lerna run --stream",
21-
"build": "lerna run build && yarn build:es",
22-
"build:es": "lerna run build:es",
21+
"build": "tsc -b ./app-config-*/tsconfig.json",
22+
"build:es": "tsc -b ./app-config-*/tsconfig.es.json",
23+
"build:all": "lerna run build",
2324
"clean": "yarn run:all clean",
2425
"test": "lerna run test -- --passWithNoTests",
2526
"lint": "yarn run:all lint",

0 commit comments

Comments
 (0)