2022-04-22 19:17:03 +00:00
|
|
|
name: Common Test
|
|
|
|
|
2022-07-05 14:14:54 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
2022-04-22 19:17:03 +00:00
|
|
|
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-04-22 19:17:03 +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
|
2023-02-07 13:34:56 +00:00
|
|
|
- run: cd Model && npm install
|
|
|
|
- run: cd Common && npm install && npm run test
|
2022-04-22 19:17:03 +00:00
|
|
|
|