From 9ece50f36962714e7aaa5e292a469ad5718b692f Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 1 Dec 2020 11:46:42 +0100 Subject: [PATCH] MOBILE-3320 ci: Configure Github Actions --- .github/workflows/testing.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/testing.yml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 000000000..1ae558f27 --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,19 @@ +name: Testing + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - run: npm ci + - run: npm run lint + - run: npm run test:ci + - run: npm run build:prod