From 10febcc57c212142fa67aea859e395aebe0760c9 Mon Sep 17 00:00:00 2001 From: duyifei121 Date: Thu, 28 Mar 2024 13:22:11 +0800 Subject: [PATCH] feat: update ci pnpm version --- .github/workflows/release-for-create-quarkc.yml | 10 +++++----- .github/workflows/release-package.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-for-create-quarkc.yml b/.github/workflows/release-for-create-quarkc.yml index f5b9c57..6f5572a 100644 --- a/.github/workflows/release-for-create-quarkc.yml +++ b/.github/workflows/release-for-create-quarkc.yml @@ -4,7 +4,7 @@ on: push: branches: [main] paths: - - 'packages/create-quarkc/package.json' + - "packages/create-quarkc/package.json" jobs: release: @@ -17,13 +17,13 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: '16' + node-version: "16" registry-url: https://registry.npmjs.org/ - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 run_install: false # Use cache to reduce installation time @@ -48,7 +48,7 @@ jobs: run: pnpm run build - name: publish - working-directory: 'packages/create-quarkc' + working-directory: "packages/create-quarkc" env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - run: npm publish \ No newline at end of file + run: npm publish diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 6e2884e..cfb49ff 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -4,7 +4,7 @@ on: push: branches: [main] paths: - - 'packages/core/package.json' + - "packages/core/package.json" jobs: release: @@ -17,13 +17,13 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: '16' + node-version: "16" registry-url: https://registry.npmjs.org/ - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 run_install: false # Use cache to reduce installation time @@ -48,7 +48,7 @@ jobs: run: pnpm run build4Core - name: publish - working-directory: 'packages/core' + working-directory: "packages/core" env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: npm publish @@ -57,7 +57,7 @@ jobs: - name: Read package.json uses: tyankatsu0105/read-package-version-actions@v1 with: - path: './packages/core' + path: "./packages/core" id: package-version # # 生成 Changelog