X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Flint.yml;h=5773a679da2471706cab73841be0a95387b1d681;hb=4d4955c64d26dc6e016e5ead13a117e796a1a647;hp=62dc754fb6f7095c45a161e36b240ade3b9796e5;hpb=1d7b3acb21a72485747ebf67e20524859893ab09;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 62dc754f..5773a679 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: lint: - runs-on: ubuntu-latest strategy: @@ -14,12 +19,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 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