mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore: 1
This commit is contained in:
@@ -26,22 +26,11 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: get_certd_version
|
- run: |
|
||||||
id: get_certd_version
|
npm install -g pnpm
|
||||||
uses: actions/github-script@v6
|
pnpm install
|
||||||
with:
|
npm run build
|
||||||
result-encoding: string
|
working-directory: ./packages/ui/certd-client
|
||||||
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
|
|
||||||
|
|
||||||
- name: zip_front
|
- name: zip_front
|
||||||
id: zip_front
|
id: zip_front
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
4
|
5
|
||||||
|
|||||||
Reference in New Issue
Block a user