Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update project infra config #19

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
contents: write
with:
app-id: app-kqZUw
skip-node-setup: true
skip-node-setup: false
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
ci:
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v1
with:
skip-node-setup: true
skip-node-setup: false
ui-path: "ui"
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ tasks.register('installDepsForUI', PnpmTask) {
args = ['install']
}

task buildFrontend(type: PnpmTask) {
tasks.register('buildFrontend', PnpmTask) {
args = ['build']
dependsOn('installDepsForUI')
}

build {
// build frontend before build
tasks.getByName('compileJava').dependsOn('buildFrontend')
tasks.named('compileJava').configure {
dependsOn('buildFrontend')
}
}

halo {
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ spec:
name: guqing
website: https://github.com/guqing/willow-mde
logo: logo.svg
homepage: https://github.com/guqing/willow-mde
homepage: https://github.com/guqing/willow-mde#readme
repo: https://github.com/guqing/willow-mde
issues: https://github.com/guqing/willow-mde/issues
displayName: "Willow Markdown 编辑器"
description: "一个漂亮、现代、可定制的 Markdown 编辑器,由 CodeMirror 6 和 TypeScript 提供支持。"
settingName: willow-mde-setting
Expand Down
Loading