Skip to content

Commit

Permalink
Adding github actions CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
rob3000 committed Jul 31, 2020
1 parent a0e60a5 commit 641c169
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: NPM Test
# This workflow is triggered on pushes to the repository.
on: [push]

jobs:
build:
# This job runs on Linux
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Build kafka stack
run: ./kafka-setup/start.sh
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: Install, Test
run: |
yarn install --frozen-lockfile
yarn run test
env:
CI: true

0 comments on commit 641c169

Please sign in to comment.