Skip to content

OEUI 311

OEUI 311 #32

Workflow file for this run

# this build is designed to replicate the Travis CI workflow
name: Test Pull Request
on:
pull_request:
branches: [ 'master' ]
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 }}
- run: npm ci
- run: npm list @openmrs/react-components || true
- run: npm run build --if-present
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}