From d8fb4c44b4bdad2cde8da32c0095b7405e9c506c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 May 2020 14:45:08 +0200 Subject: [PATCH] GitHub action: properly separate different steps in jobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/lint.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 62dc754f..d488e5fe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,8 @@ on: [pull_request, push] jobs: lint: + env: + CI: true runs-on: ubuntu-latest @@ -17,9 +19,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 -- 2.34.1