From e72ee3ecaffae13fea4f1c746611185f5ee3c837 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Fri, 19 Nov 2021 17:53:36 +0100 Subject: [PATCH] Added linter to CI action --- .github/workflows/node.js.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 99e76018..15abaaaa 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -8,10 +8,8 @@ on: pull_request: jobs: - build: - + test: runs-on: ubuntu-latest - strategy: matrix: node-version: [12.x, 14.x, 16.x] @@ -28,3 +26,14 @@ jobs: - run: npx lerna bootstrap --hoist - run: npx lerna run build - run: npm test + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16.x + - run: npm i --no-optional + - run: npx lerna bootstrap --hoist + - run: npm run lint