summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHellseher <[email protected]>2021-08-04 11:12:30 +0000
committerGitHub <[email protected]>2021-08-04 13:12:30 +0200
commitce957f25b7d234256d9be8c61f5ec5f603d6a443 (patch)
tree1679571a80dfb3c56772b76d4dcc81bfba8aeb5a
parent1442041e1a71ccf8548fb707ca96b4035352fb2f (diff)
Add basic CI (#37)
* Add basic CI * Fix CI credentials * fix * Use https:// instead of ssh://git * Fix * Add suggesting steps and badge
-rw-r--r--.github/workflows/ci.yml33
-rw-r--r--README.md2
2 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..25b5498
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+---
+# File : ci.yml
+
+name: "ci"
+on:
+ push:
+defaults:
+ run:
+ shell: "bash"
+jobs:
+ lint-test-build:
+ name: "[ci|lint-test-build]"
+ runs-on: "ubuntu-18.04"
+ steps:
+ - name: "[checkout] ${{ github.repository }} project"
+ uses: "actions/checkout@v2"
+ with:
+ repository: "${{ github.repository }}"
+ - name: "[lint]"
+ run: |
+ echo TBA some linting
+ - name: "[test]"
+ run: |
+ echo TBA some testing
+ - name: "[build]"
+ run: |
+ git config --global url."https://github.com/".insteadOf ssh://[email protected]/
+ git config --global url."https://".insteadOf git://
+ git config --global url."https://".insteadOf ssh://
+ yarn
+ yarn build
+...
+# End of ci.yml
diff --git a/README.md b/README.md
index 430ab0f..0ba6734 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# org-roam-ui: an org-roam frontend
+[![ci](https://github.com/org-roam/org-roam-ui/actions/workflows/ci.yml/badge.svg)](https://github.com/org-roam/org-roam-ui/actions/workflows/ci.yml)
+
![image](https://user-images.githubusercontent.com/21983833/127746882-4ba00691-3be4-49d6-8c8c-e139a14596c2.png)
Org-Roam-UI is a frontend for exploring and interacting with your [org-roam](https://github.com/org-roam/org-roam) notes.