Skip to content

Commit

Permalink
Create nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Viatorus committed Feb 3, 2020
1 parent fd2c7d9 commit b518253
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x]

steps:
- uses: actions/checkout@v2
- uses: getong/elasticsearch-action@v1
with:
elasticsearch version: '6.5.8'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: PATH=${PATH}:\.\/node_modules\/\.bin/
- run: npm run lint
- run: npm test
# - run: codecov
- run: npm run build
- run: npm run build -- --dist
- run: npm install --prefix integration
env:
CI: true

0 comments on commit b518253

Please sign in to comment.