X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Flint.yml;h=3d7a77e6945905f7fdf530dc1bfff6c761a06f75;hb=3497da01c70a699484836f4d122a8cbaf670c44d;hp=79ab01bced56bb3f3723478d3bc8bd747c7e0a64;hpb=5e427b78e8d18c99baf690defec791382231c086;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 79ab01bc..3d7a77e6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,10 +1,15 @@ name: Lint CI -on: [pull_request, push] +on: + # push: + # branches: + # - master + pull_request: + branches: + - master jobs: - build: - + lint: runs-on: ubuntu-latest strategy: @@ -17,9 +22,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: npm install and run lint - run: | - npm ci - npm run lint - env: - CI: true + - name: npm install + run: npm ci + - name: npm run lint + run: npm run lint