repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Type cast
[e-mobility-charging-stations-simulator.git]
/
.github
/
workflows
/
lint.yml
diff --git
a/.github/workflows/lint.yml
b/.github/workflows/lint.yml
index 79ab01bced56bb3f3723478d3bc8bd747c7e0a64..3d7a77e6945905f7fdf530dc1bfff6c761a06f75 100644
(file)
--- a/
.github/workflows/lint.yml
+++ b/
.github/workflows/lint.yml
@@
-1,10
+1,15
@@
name: Lint CI
name: Lint CI
-on: [pull_request, push]
+on:
+ # push:
+ # branches:
+ # - master
+ pull_request:
+ branches:
+ - master
jobs:
jobs:
- build:
-
+ lint:
runs-on: ubuntu-latest
strategy:
runs-on: ubuntu-latest
strategy:
@@
-17,9
+22,7
@@
jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
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