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:
|
2023-02-20 14:47:19 +00:00
|
|
|
node-version: 18.3.0
|
2022-08-03 19:24:56 +00:00
|
|
|
- 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
|
|
|
|
|