name: Node.js CI

on:
  push:
    branches: [ "*" ]
  pull_request:
    branches: [ main, develop ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Use Node.js
        uses: actions/setup-node@v1
        with:
          node-version: '14.x'
      - name: Install dependencies
        run: npm install
      - run: npm run build --if-present
      - run: npm test
Add github workflow for CI
Add github workflow for CI

Pretty default configuration

Fix yaml syntax
