diff --git a/.github/workflows/compile.model.yaml b/.github/workflows/compile.model.yaml new file mode 100644 index 0000000000..ade9e01e3a --- /dev/null +++ b/.github/workflows/compile.model.yaml @@ -0,0 +1,21 @@ +name: Compile Model + +on: + pull_request: + push: + branches-ignore: + - 'hotfix-*' + - 'release' + - 'staging-release' + +jobs: + compile: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + check-latest: true + - run: cd Common && npm install + - run: cd Model && npm install && npm run compile + \ No newline at end of file diff --git a/.github/workflows/test.model.yaml b/.github/workflows/test.model.yaml new file mode 100644 index 0000000000..1543c262e1 --- /dev/null +++ b/.github/workflows/test.model.yaml @@ -0,0 +1,21 @@ +name: Model Test + +on: + pull_request: + push: + branches-ignore: + - 'hotfix-*' # excludes hotfix branches + - 'release' + - 'staging-release' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + check-latest: true + - run: cd Common && npm install + - run: cd Model && npm install && npm run test + \ No newline at end of file