Added workflows CI

This commit is contained in:
chris
2022-05-24 15:40:51 +08:00
parent 208fb40f72
commit f3346c455e
2 changed files with 30 additions and 0 deletions

26
.github/workflows/CI.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: CI
on:
push:
branches:
- "*"
env:
PLUGIN_NAME: obsidian-weread-plugin
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Build
id: build
run: |
npm install
npm run build