diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..b90a16acc0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - 'main' + pull_request: + +jobs: + build_and_test: + runs-on: ubuntu-latest + steps: + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install NodeJS + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: install + run: npm install + + - name: build + run: npm build + + - name: test + run: npm test