From ce957f25b7d234256d9be8c61f5ec5f603d6a443 Mon Sep 17 00:00:00 2001 From: Hellseher Date: Wed, 4 Aug 2021 11:12:30 +0000 Subject: Add basic CI (#37) * Add basic CI * Fix CI credentials * fix * Use https:// instead of ssh://git * Fix * Add suggesting steps and badge --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml 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://git@github.com/ + 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. -- cgit v1.2.3