From e1187542b863a0c2603ef8e29f82b24e35169334 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Sun, 9 May 2021 20:09:05 +0200 Subject: [PATCH] Create onpush.yml --- .github/workflows/onpush.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/onpush.yml 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