Skip to content

Commit

Permalink
workflow(cd): fix the release build error (#13)
Browse files Browse the repository at this point in the history
* workflow(cd): fix release fail

* workflow(cd): fix the release build error

* chore: fix release script
  • Loading branch information
zhoushaw authored Jul 25, 2024
1 parent f611467 commit e389212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,11 @@ jobs:
with:
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
branch: ${{ github.event.inputs.branch }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.3.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions packages/visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"build": "modern build",
"build:watch": "modern build -w",
"new": "modern new",
"upgrade": "modern upgrade",
"prepublishOnly": "modern release --doc-only"
"upgrade": "modern upgrade"
},
"dependencies": {
"@ant-design/icons": "5.3.7",
Expand Down

0 comments on commit e389212

Please sign in to comment.