This commit is contained in:
xiaojunnuo
2025-12-29 14:24:27 +08:00
parent 13ddc979ec
commit f68b585f8f
2 changed files with 6 additions and 17 deletions

View File

@@ -26,22 +26,11 @@ jobs:
fetch-depth: 0
lfs: true
- name: get_certd_version
id: get_certd_version
uses: actions/github-script@v6
with:
result-encoding: string
script: |
const fs = require('fs');
const path = require('path');
const pnpmWorkspace = "./pnpm-workspace.yaml";
fs.unlinkSync(pnpmWorkspace)
const jsonFilePath = "./packages/ui/certd-server/package.json";
const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8');
const pkg = JSON.parse(jsonContent)
console.log("certd_version:",pkg.version);
return pkg.version
- run: |
npm install -g pnpm
pnpm install
npm run build
working-directory: ./packages/ui/certd-client
- name: zip_front
id: zip_front
run: |

View File

@@ -1 +1 @@
4
5