From 6fcaf1fd5ef32cad521a94c1efd2cabfcff49b09 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Sat, 20 Dec 2025 23:18:27 -0500 Subject: [PATCH] add: git workflows --- .github/PULL_REQUEST_TEMPLATE.md | 21 +++++++++++++++++++++ .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/build.yml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..e619b06 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,21 @@ +## Description + +Provide a detailed description of the feature you are adding or changes that are being made in this pull request. + +## Related Issue + +If applicable, link to the issue that this pull request addresses. + +## Testing Instructions + +Provide step-by-step instructions on how to test the changes made in this pull request. + +## Screenshots or Recordings + +Provide any relevant screenshots or recordings to help understand the changes. + +## Checklist + +- [ ] Have you added a note to the changelog? +- [ ] Have you ensured the code passes all tests using the included plugin-check? +- [ ] Have you checked for code style and linting errors? diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..75d5b53 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build Test + +on: + pull_request: + branches: [main] + +jobs: + build: + name: Install dependencies and test build + timeout-minutes: 10 + runs-on: 'ubuntu-latest' + + env: + CI_JOB_NUMBER: 1 + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.10.0' + + - name: 📦 Install + run: npm install + + - name: 🔧 Build + run: npm run build