Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Nov 14, 2023
1 parent e0c5710 commit ab68c27
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 11 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Development
on:
push:

jobs:
build:
name: Build theme
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Build theme
run: bash build.sh

- name: Upload theme
uses: actions/upload-artifact@v3
with:
name: Breeze.css
path: breeze.css
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.css
upload.local.sh
upload.local.sh
node_modules
3 changes: 0 additions & 3 deletions build-nixos.sh

This file was deleted.

7 changes: 0 additions & 7 deletions build.sh

This file was deleted.

234 changes: 234 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "breeze-trilium",
"version": "1.0.0",
"description": "Custom theme for Trilium Notes designed to match closely KDE's default theme, KDE Breeze.",
"main": "index.js",
"scripts": {
"build": "lessc src/color-scheme/breeze-auto.less breeze.css"
},
"keywords": [],
"author": "Elian Doran <[email protected]>",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "git+https://github.com/eliandoran/breeze-trilium.git"
},
"bugs": {
"url": "https://github.com/eliandoran/breeze-trilium/issues"
},
"homepage": "https://github.com/eliandoran/breeze-trilium#readme",
"devDependencies": {
"less": "^4.2.0"
}
}

0 comments on commit ab68c27

Please sign in to comment.