repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb26b0
)
GitHub action: properly separate different steps in jobs
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 1 May 2020 12:45:08 +0000
(14:45 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 1 May 2020 12:45:08 +0000
(14:45 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/lint.yml
patch
|
blob
|
blame
|
history
diff --git
a/.github/workflows/lint.yml
b/.github/workflows/lint.yml
index 62dc754fb6f7095c45a161e36b240ade3b9796e5..d488e5fedfa1214a20d23383c9c593cb34a2f1cb 100644
(file)
--- 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