Skip to content

Commit

Permalink
chore: added github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
swarthy committed Apr 14, 2021
1 parent cd186c6 commit 748bcfa
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
- push
- pull_request
- workflow_dispatch

jobs:
intergartion-test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]

env:
COVERALLS_REPO_TOKEN: '${{ secrets.COVERALLS_REPO_TOKEN }}'
COVERALLS_GIT_BRANCH: '${{ github.ref }}'

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- uses: c-hive/gha-yarn-cache@v1

- run: yarn --frozen-lockfile

- run: docker-compose up -d redis1 redis2 redis3
- run: docker-compose run waiter

- run: yarn test
- run: yarn run coveralls

0 comments on commit 748bcfa

Please sign in to comment.