From c675ed398e024175965bda65302e662601f86a5d Mon Sep 17 00:00:00 2001 From: FloChehab Date: Thu, 7 May 2020 22:02:08 +0200 Subject: [PATCH] feat: setup linting CI --- .github/workflows/linting-code.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/linting-code.yml diff --git a/.github/workflows/linting-code.yml b/.github/workflows/linting-code.yml new file mode 100644 index 0000000..f900057 --- /dev/null +++ b/.github/workflows/linting-code.yml @@ -0,0 +1,21 @@ +# This workflow will do a clean install of node dependencies and check the code style + +name: Linting code CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + 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 style