Skip to content

Commit

Permalink
chore: support build cli-engine before release (#2441)
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 authored Mar 17, 2023
1 parent dc17d16 commit 4d256ce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-next-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
run: |
yarn install --immutable
yarn run init
yarn run build:cli-engine
- name: Setup .yarnrc.yml
run: |
yarn config set -H npmRegistryServer "https://registry.npmjs.org"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
run: |
yarn install --immutable
yarn run init
yarn run build:cli-engine
- name: Setup .yarnrc.yml
run: |
yarn config set -H npmRegistryServer "https://registry.npmjs.org"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
run: |
yarn install --immutable
yarn run init
yarn run build:cli-engine
yarn run manifest -v=${{github.event.inputs.version}}
- name: Setup .yarnrc.yml
run: |
Expand Down
8 changes: 0 additions & 8 deletions configs/ts/references/tsconfig.cli-engine.json

This file was deleted.

3 changes: 0 additions & 3 deletions configs/ts/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@
},
{
"path": "./references/tsconfig.playwright.json"
},
{
"path": "./references/tsconfig.cli-engine.json"
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"compile": "cross-env NODE_ENV=production ts-node ./scripts/build",
"build:worker-host": "cd packages/extension && yarn run compile:worker",
"build:ext-host": "cd packages/extension && yarn run build:ext-host",
"build:cli-engine": "cd tools/cli-engine && yarn run build",
"watch:ext-host": "cd packages/extension && yarn run watch:ext-host",
"watch:worker-host": "cd packages/extension && yarn run watch:worker",
"watch": "yarn run rebuild:node && cross-env NODE_ENV=production ts-node ./scripts/watch",
"publish": "yarn run build:all && ts-node ./scripts/publish",
"publish:snapshot": "yarn run publish --rollback --type=snapshot",
"publish:next": "yarn run publish --rollback --type=next",
"publish:engine": "sh ./scripts/release-cli-engine.sh",
"update-version": "ts-node ./scripts/publish --versionOnly",
"update-disttag": "ts-node ./scripts/dist-tag",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
Expand Down

0 comments on commit 4d256ce

Please sign in to comment.