chore: github action build

This commit is contained in:
xiaojunnuo
2024-07-23 12:44:42 +08:00
parent a9ebac82c7
commit 5a88b8c24e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@ jobs:
const path = require('path'); const path = require('path');
const jsonFilePath = "./packages/ui/certd-server/package.json"; const jsonFilePath = "./packages/ui/certd-server/package.json";
const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8'); const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8');
console.log(jsonContent)
const pkg = JSON.parse(jsonContent) const pkg = JSON.parse(jsonContent)
// 打印 JSON 文件内容 // 打印 JSON 文件内容
console.log("certd_version:",pkg.version); console.log("certd_version:",pkg.version);
+1 -1
View File
@@ -1 +1 @@
2 3