diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..878d654 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Test Project + +on: + push: + branches: [main] + pull_request: + branches: [main] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up nodejs + uses: actions/setup-python@v2 + with: + python-version: "3.8" + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test + - run: npm run build