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.
This commit is contained in:
Huakun Shen 2025-01-07 01:07:26 -05:00
parent f8d61808e9
commit e11343169c
No known key found for this signature in database
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -11,6 +11,6 @@
"@kksh/typescript-config": "workspace:*"
},
"peerDependencies": {
"typescript": "^5.0.0"
"typescript": "^5.7.2"
}
}

4
pnpm-lock.yaml generated
View File

@ -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:*