Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1c4c232

Browse files
committedJan 22, 2022
refactor: split up script execution for browser-tck
1 parent 82cf571 commit 1c4c232

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,14 @@ jobs:
9494
- name: Install dependencies
9595
run: yarn --frozen-lockfile
9696

97+
- name: Bootstrap
98+
run: yarn bootstrap
99+
100+
- name: Build packages
101+
run: yarn build -- --ignore=@rsocket/browser-tck
102+
97103
- name: Test
98-
run: yarn test-rsocket-browser-tck
104+
run: yarn ci-test-rsocket-browser-tck
99105

100106
compile:
101107
runs-on: ubuntu-latest

‎package.json

+2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
]
1919
},
2020
"scripts": {
21+
"bootstrap": "lerna bootstrap",
2122
"build": "lerna run build",
2223
"clean": "lerna run clean && rimraf -rf ./coverage",
2324
"pub": "lerna publish",
2425
"pretest": "yarn clean",
2526
"test": "lerna run test --ignore=@rsocket/browser-tck",
2627
"pretest-rsocket-browser-tck": "lerna bootstrap && lerna run build --ignore=@rsocket/browser-tck",
2728
"test-rsocket-browser-tck": "lerna run test --scope=@rsocket/browser-tck",
29+
"ci-test-rsocket-browser-tck": "lerna run test --scope=@rsocket/browser-tck",
2830
"lint": "eslint --ext js,ts .",
2931
"lint:fix": "npm run lint -- --fix"
3032
},

0 commit comments

Comments
 (0)
Please sign in to comment.