Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
--- /dev/null
+name: Greetings
+
+on: [pull_request, issues]
+
+jobs:
+ greeting:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/first-interaction@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ issue-message: 'Welcome to your first issue in e-Mobility software'
+ pr-message: 'Welcome to your first PR in e-Mobility software'
--- /dev/null
+name: Node CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [13.x, 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 lint
+ run: |
+ npm ci
+ npm run lint
+ env:
+ CI: true