Skip to content

Merge pull request #47 from smart-on-fhir/dependabot/npm_and_yarn/con… #36

Merge pull request #47 from smart-on-fhir/dependabot/npm_and_yarn/con…

Merge pull request #47 from smart-on-fhir/dependabot/npm_and_yarn/con… #36

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15.0]
browser: ["chrome"]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
# Run vitest tests
- run: npm run test
env:
CI: true
# Build code and run as a prod server on port 5173 in the background
- run: npm run build
- run: npm run start-prod -- -p 5173 &
env:
CI: true
# Run nightwatch tests
- run: npm run test:e2e
env:
CI: true