From c475a89776f25ec8d2f1c53476f8a0157b32fcf6 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Tue, 14 Jan 2025 18:26:54 +0000 Subject: [PATCH] feat(ci): create test build workflows --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..87dc7900 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build Addon + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '22.x' + + - name: Install Dependencies + run: npm ci + - name: Build Addon + run: npm run build