Skip to content

Commit

Permalink
Merge pull request #69 from hellof2e/fix/release-task-fail
Browse files Browse the repository at this point in the history
feat: update ci pnpm version
  • Loading branch information
xsf0105 authored Mar 28, 2024
2 parents dab2cd4 + 10febcc commit acf1d28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-for-create-quarkc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
paths:
- 'packages/create-quarkc/package.json'
- "packages/create-quarkc/package.json"

jobs:
release:
Expand All @@ -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
Expand All @@ -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
run: npm publish
10 changes: 5 additions & 5 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
paths:
- 'packages/core/package.json'
- "packages/core/package.json"

jobs:
release:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit acf1d28

Please sign in to comment.