diff --git a/.github/workflows/onpush.yml b/.github/workflows/onpush.yml new file mode 100644 index 00000000..f4358797 --- /dev/null +++ b/.github/workflows/onpush.yml @@ -0,0 +1,20 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 14.x + - name: npm install, test and lint + run: | + npm ci + npm run lint + npm run test \ No newline at end of file