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.