From e11343169c00b6fe6739b26beb89996f9da4bfb4 Mon Sep 17 00:00:00 2001 From: Huakun Shen Date: Tue, 7 Jan 2025 01:07:26 -0500 Subject: [PATCH] ci: update TypeScript version and refine CI workflow steps - Bumped TypeScript version to 5.7.2 in both package.json and pnpm-lock.yaml for improved compatibility. - Adjusted the CI workflow to correctly set the OpenSSL directory environment variable. - Updated the environment check step to use a new script, enhancing the CI process. --- .github/workflows/desktop-publish.yml | 5 +++-- packages/ci/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/desktop-publish.yml b/.github/workflows/desktop-publish.yml index 34fb682..8b30c9c 100644 --- a/.github/workflows/desktop-publish.yml +++ b/.github/workflows/desktop-publish.yml @@ -44,7 +44,7 @@ jobs: run: | brew install protobuf brew install openssl - # echo "OPENSSL_DIR=$(brew --prefix openssl)" >> $GITHUB_ENV + echo "OPENSSL_DIR=$(brew --prefix openssl)" >> $GITHUB_ENV - name: Install Protobuf (Ubuntu) if: matrix.settings.platform == 'ubuntu-22.04' run: | @@ -86,7 +86,8 @@ jobs: run: pnpm install - name: Environment Check run: | - pnpm --filter=@kksh/ci ci-env-check + # pnpm --filter=@kksh/ci run ci-env-check + bun packages/ci/scripts/ci-env-check.ts - name: Build Packages run: pnpm build - name: Get App Version diff --git a/packages/ci/package.json b/packages/ci/package.json index a6b1d66..fa53529 100644 --- a/packages/ci/package.json +++ b/packages/ci/package.json @@ -11,6 +11,6 @@ "@kksh/typescript-config": "workspace:*" }, "peerDependencies": { - "typescript": "^5.0.0" + "typescript": "^5.7.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 374acf7..d7b65ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -547,8 +547,8 @@ importers: packages/ci: dependencies: typescript: - specifier: ^5.0.0 - version: 5.5.4 + specifier: ^5.7.2 + version: 5.7.2 devDependencies: '@kksh/typescript-config': specifier: workspace:*