From 386c328d8a142b4d347374c7fd68acf76c65c6fc Mon Sep 17 00:00:00 2001 From: "m.marjorie" Date: Thu, 3 Apr 2025 17:54:53 +0800 Subject: [PATCH] Add CI workflow --- .gitea/workflows/build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..6c6b6f3 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Build and Test + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test