Added server CLI for demos. #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test_distribution: | |
name: Test distribution | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Build distribution bundle | |
run: npm run build | |
test_eslint: | |
name: Test eslint style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Build webpack bundles | |
run: npm run webpack | |
- name: Test eslint style | |
run: npx eslint . | |
test_unit-tests: | |
name: Test unit-tests | |
runs-on: ubuntu-latest | |
env: | |
MORNINGSTAR_PASSWORD: ${{ secrets.MORNINGSTAR_PWD }} | |
MORNINGSTAR_USERNAME: ${{ secrets.MORNINGSTAR_USERNAME }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Build webpack bundles | |
run: npm run webpack | |
- name: Run unit-tests | |
run: npx ts-node test/unit-tests/runtime |