From 21f426cd036bf64f9ed01751d29eb6942d8a19a1 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:45:07 +0000 Subject: [PATCH] feat: Updated .github/workflows/main.yml --- .github/workflows/main.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 36b837b733c..f22baf869a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,2 +1,27 @@ -The contents of the new file. NEVER write comments. All functions and classes will be fully implemented. +name: Continuous Integration + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: '14.x' + + - name: Install dependencies + run: npm install + + - name: Build the project + run: npm run build When writing unit tests, they will be complete, extensive, and cover ALL edge cases. You will make up data for unit tests. Create mocks when necessary.