Skip to content

Commit fb5f62c

Browse files
committed
ci(validate): improved execution of lint, typecheck, and test scripts in parallel
1 parent f111c90 commit fb5f62c

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,8 @@ jobs:
3939
- name: Install dependencies
4040
run: yarn
4141

42-
- name: Build packages
43-
run: yarn build
44-
45-
- name: Lint
46-
run: yarn lint
47-
48-
- name: Type check
49-
run: yarn typecheck
50-
51-
- name: Test
52-
run: yarn test
42+
- name: Validate packages
43+
run: yarn validate
5344

5445
- name: Upload test coverage to Codecov
5546
uses: codecov/codecov-action@v3

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"typecheck": "turbo run typecheck",
1414
"test": "turbo run test",
1515
"clean": "turbo run clean && rm -rf node_modules .turbo",
16+
"validate": "yarn build && run-p lint typecheck test --concurrency=100%",
1617
"version-packages": "changeset version && yarn --mode=\"update-lockfile\"",
1718
"release": "turbo run build --filter='@channel.io/*' && changeset publish",
1819
"update-snapshot": "yarn workspace @channel.io/bezier-react update-snapshot",

0 commit comments

Comments
 (0)