From: Jérôme Benoit Date: Sat, 25 Apr 2020 00:15:34 +0000 (+0200) Subject: Add forgotten GitHub action file. X-Git-Tag: v1.0.1-0~341 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5e427b78e8d18c99baf690defec791382231c086;p=e-mobility-charging-stations-simulator.git Add forgotten GitHub action file. Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..79ab01bc --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +name: Lint CI + +on: [pull_request, push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ 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