From 80a3ced821b6d8405bfbaec2ed4043f09be11dc8 Mon Sep 17 00:00:00 2001 From: Dominik Korsa Date: Wed, 20 Jan 2021 15:49:32 +0100 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4a8e900 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + lint-and-build: + name: Lint and build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: npm ci + - run: npm run lint + - run: npm run build +