From b2ae8cb55a73b9a741f2f41e4074966e0c2a0ba8 Mon Sep 17 00:00:00 2001 From: bowman Date: Sun, 9 Mar 2025 13:15:23 -0700 Subject: [PATCH] add a standalone ci checker for ensure PRs are valid --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..e2ae16c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: Check and Build +on: + pull_request: + branches: + - main + push: + branches: + - "*" + workflow_dispatch: + +env: + PLUGIN_NAME: obsidian-wordpress + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: "14.x" + + - name: Build + id: build + run: | + npm install + npm run build