Skip to content

Commit bac4b71

Browse files
committed
add github build and corresponding badge in the README
1 parent 7a32c0d commit bac4b71

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Use Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: "18.x"
22+
23+
- name: Build plugin
24+
run: |
25+
npm install
26+
npm run build
27+
28+
- name: Run tests
29+
run: |
30+
npm test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Obsidian Easy Extensions Plugin
22

3+
[![Build Status](https://github.com/carlosmunoz/obsidian-easy-extensions/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/carlosmunoz/obsidian-easy-extensions/actions/workflows/build.yml)
4+
35
The Easy extensions plugin provides a way to extend Obsidian's functionality without the need to create and install custom plugins. Extensions are javascript objects that live in your vault and can be easily shared with others. The plugin makes the Obsidian APIs available to use, and it also adds its own API to facilitate certain actions.
46

57
## Creating your first extension

0 commit comments

Comments
 (0)