Skip to content

Commit 897a269

Browse files
authored
ci: cd pipeline (#9768)
* ci: cd pipeline * ci: update * ci: update * build: update lock file
1 parent e904303 commit 897a269

File tree

4 files changed

+1113
-1429
lines changed

4 files changed

+1113
-1429
lines changed

.github/workflows/cd.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@ jobs:
6666
token: ${{ secrets.CD_PAT }}
6767
ref: ${{ github.ref }}
6868

69-
- name: Setup node
70-
uses: actions/setup-node@v3
69+
- uses: actions/setup-node@v3
7170
with:
72-
node-version: 14
71+
node-version: 18
72+
73+
- uses: pnpm/action-setup@v2
74+
with:
75+
version: 8
7376

7477
- name: Install wine64
7578
run: |
@@ -288,6 +291,7 @@ jobs:
288291
command: |
289292
sleep 20
290293
cd ./packages/vscode-extension
294+
rm -rf node_modules
291295
npm install --only=production
292296
if [ "$PREID" == "beta" ]; then
293297
npx vsce package --pre-release

lerna.json

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
{
22
"version": "independent",
3-
"packages": [
4-
"packages/api",
5-
"packages/fx-core",
6-
"packages/sdk",
7-
"packages/sdk-react",
8-
"packages/cli",
9-
"packages/server",
10-
"packages/vscode-extension",
11-
"packages/failpoint-ts",
12-
"packages/metrics-ts",
13-
"packages/adaptivecards-tools-sdk",
14-
"packages/manifest",
15-
"packages/eslint-plugin-teamsfx",
16-
"packages/tests",
17-
"templates"
18-
],
193
"command": {
204
"version": {
215
"message": "build(release): publish detail",
@@ -24,5 +8,7 @@
248
},
259
"publishConfig": {
2610
"registry": "https://registry.npmjs.org/"
27-
}
11+
},
12+
"npmClient": "pnpm",
13+
"useWorkspaces": true
2814
}

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,17 @@
77
"setup": "pnpm install && npm run build",
88
"watch": "pnpm --parallel -r run watch",
99
"build": "pnpm -r run --filter=!@microsoft/teamsfx-react build && pnpm run --filter=@microsoft/teamsfx-react build",
10-
"changeset": "changeset",
11-
"version": "changeset version",
12-
"release": "changeset publish",
1310
"precommit": "lint-staged",
1411
"clean": "pnpm -r exec rimraf node_modules"
1512
},
1613
"devDependencies": {
17-
"@changesets/cli": "^2.25.2",
1814
"@commitlint/cli": "^17.7.1",
1915
"@commitlint/config-conventional": "^12.0.1",
2016
"codecov": "^3.8.3",
2117
"codeowners": "^5.1.1",
22-
"cz-conventional-changelog": "^3.3.0",
2318
"dotenv": "^10.0.0",
2419
"husky": "^6.0.0",
25-
"lerna": "^4.0.0",
20+
"lerna": "^6.0.0",
2621
"rimraf": "^5.0.1",
2722
"ts-node": "^10.2.1"
2823
},

0 commit comments

Comments
 (0)