diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index be0863215b..d837ea65e3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -48,6 +48,12 @@ jobs: with: cmd: "jq .sypv app/package.json -r" + - name: Extract packageManager from package.json + uses: sergeysova/jq-action@v2 + id: packageManager + with: + cmd: "jq .packageManager app/package.json -r" + - id: thislatestR uses: pozetroninc/github-action-get-latest-release@master with: @@ -191,7 +197,7 @@ jobs: node-version: 20 - name: Install Node pnpm - run: npm install -g pnpm + run: npm install -g ${{ steps.packageManager.outputs.value }} working-directory: ${{ github.workspace }}/go/src/github.com/${{ matrix.string.repo_owner }}/${{ matrix.string.repo_name }}/app - name: Change NPMRC File diff --git a/app/package.json b/app/package.json index f388ee6718..cfc3e5989b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "sillot", - "version": "0.29.7", + "version": "0.29.8", "syv": "3.0.10", "sypv": "[3.0.9]", "description": "Build Your Eternal Digital Garden", @@ -10,9 +10,9 @@ "main": "./electron/main.js", "engines": { "node": ">=20.11.1", - "pnpm": ">=8.15.5" + "pnpm": ">=9.0.0" }, - "packageManager": "pnpm@9.0.0-alpha.8", + "packageManager": "pnpm@9.0.1", "scripts": { "cli": "node ./package.cli.mjs", "dlv": "echo '注意:dlv debug 是否在独立终端运行中(需要在dlv里执行continue)?没有请先启动(终端工作路径是 kernel/main.go 所在目录),不需要内核调试则应该运行 pnpm run start 命令\n' && pause && NODE_ENV=development MODE=dlv electron-forge start",