new name ob2qualkard plugin v0.1
Some checks failed
Zettelclean CI / build (20.x) (push) Has been cancelled
Zettelclean CI / build (22.x) (push) Has been cancelled
Zettelclean CI / build (24.x) (push) Has been cancelled
Release Zettelclean / build (push) Has been cancelled

This commit is contained in:
2026-08-05 20:45:13 -03:00
parent c38e2cc6cf
commit 43a66d604c
12 changed files with 886 additions and 5073 deletions

View File

@@ -1,4 +1,25 @@
name: Node.js build
# **************************************************************************
# * (C)opyright 2026 by Ruben Carlo Benante *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation, either version 3 of the License, or *
# * (at your option) any later version. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU General Public License for more details. *
# * *
# * You should have received a copy of the GNU General Public License *
# * along with this program. If not, see http://www.gnu.org/licenses/. *
# * *
# * Contact author at: *
# * Ruben Carlo Benante *
# * rcb@beco.cc *
# **************************************************************************
name: Zettelclean CI
on:
push:
@@ -8,7 +29,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: slackware-15
strategy:
matrix:
@@ -21,7 +42,11 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
# Node ships corepack, which selects the pnpm version pinned in
# package.json ("packageManager"). If this self-hosted runner has no
# Node, drop the setup-node step above and rely on a preinstalled Node.
- run: corepack enable
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm run lint
- run: pnpm test

View File

@@ -1,4 +1,25 @@
name: Release Obsidian plugin
# **************************************************************************
# * (C)opyright 2026 by Ruben Carlo Benante *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation, either version 3 of the License, or *
# * (at your option) any later version. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU General Public License for more details. *
# * *
# * You should have received a copy of the GNU General Public License *
# * along with this program. If not, see http://www.gnu.org/licenses/. *
# * *
# * Contact author at: *
# * Ruben Carlo Benante *
# * rcb@beco.cc *
# **************************************************************************
name: Release Zettelclean
on:
push:
@@ -7,7 +28,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: slackware-15
permissions:
contents: write
id-token: write
@@ -19,12 +40,17 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'npm'
# Node ships corepack, which selects the pnpm version pinned in
# package.json ("packageManager"). If this self-hosted runner has no
# Node, drop the setup-node step above and rely on a preinstalled Node.
- name: Enable pnpm
run: corepack enable
- name: Build plugin
run: |
npm ci
npm run build
pnpm install --frozen-lockfile
pnpm run build
- name: Check for optional styles
id: styles
@@ -45,6 +71,6 @@ jobs:
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--title="Zettelclean $tag" \
--draft \
main.js manifest.json ${{ steps.styles.outputs.exists == 'true' && 'styles.css' || '' }}