From f68b585f8f12329de78ffcd7d3bef8a924e1e083 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 29 Dec 2025 14:24:27 +0800 Subject: [PATCH] chore: 1 --- .github/workflows/publish-atom.yaml | 21 +++++---------------- trigger/publish.trigger | 2 +- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish-atom.yaml b/.github/workflows/publish-atom.yaml index 4e3100982..03bcd334c 100644 --- a/.github/workflows/publish-atom.yaml +++ b/.github/workflows/publish-atom.yaml @@ -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: | diff --git a/trigger/publish.trigger b/trigger/publish.trigger index b8626c4cf..7ed6ff82d 100644 --- a/trigger/publish.trigger +++ b/trigger/publish.trigger @@ -1 +1 @@ -4 +5