diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..de045e3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +on: + # Push to long living branches or PRs + push: + branches: + - main + pull_request: + +jobs: + lint: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: npm run lint + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: npm run build