oneuptime/.github/workflows/test.model.yaml

23 lines
484 B
YAML
Raw Normal View History

2022-08-03 19:24:56 +00:00
name: Model Test
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- 'release'
jobs:
test:
runs-on: ubuntu-latest
2022-11-09 14:37:25 +00:00
env:
CI_PIPELINE_ID: ${{github.run_number}}
2022-08-03 19:24:56 +00:00
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
check-latest: true
- run: cd Common && npm install
2022-08-03 21:16:03 +00:00
- run: cd Model && npm install
2022-08-03 19:24:56 +00:00
- run: cd Model && npm install && npm run test