Skip to content

Commit 9211e97

Browse files
committed
chore: remove build from prepack into ci
1 parent 2b278a1 commit 9211e97

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/on-merge-main.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ jobs:
2727
npm i -g npm@8
2828
- name: Install Dependencies
2929
run: npm install
30-
- name: Run basic build
31-
run: npm run bootstrap
3230
- name: Setup CI Git User
3331
run: |
3432
git config user.name twilio-labs-ci
3533
git config user.email [email protected]
34+
- name: Create new build
35+
run: |
36+
npm run clean
37+
npm run build
3638
- name: "Create Pull Request or Publish to npm"
3739
uses: changesets/action@v1
3840
with:

packages/runtime-handler/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
"build": "tsc",
3737
"watch": "tsc --watch",
3838
"build:noemit": "tsc --noEmit",
39-
"clean": "rimraf ./dist",
40-
"prepack": "run-s clean build"
39+
"clean": "rimraf ./dist"
4140
},
4241
"devDependencies": {
4342
"@types/common-tags": "^1.8.0",

packages/serverless-api/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"watch": "tsc --watch",
1111
"build:noemit": "tsc --noEmit",
1212
"docs": "typedoc --options typedoc.json",
13-
"clean": "rimraf ./dist",
14-
"prepack": "run-s clean build"
13+
"clean": "rimraf ./dist"
1514
},
1615
"publishConfig": {
1716
"access": "public"

packages/twilio-run/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"scripts": {
1313
"clean": "rimraf dist",
1414
"build": "tsc",
15-
"build:noemit": "tsc --noEmit",
16-
"prepack": "run-s clean build"
15+
"build:noemit": "tsc --noEmit"
1716
},
1817
"keywords": [
1918
"twilio",

0 commit comments

Comments
 (0)