-
Notifications
You must be signed in to change notification settings - Fork 29
33 lines (33 loc) · 1.08 KB
/
github-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Application CI
on: [push, pull_request]
jobs:
applications:
name: oncokb test suite
runs-on: ubuntu-latest
timeout-minutes: 40
env:
NODE_VERSION: 12.16.1
SPRING_OUTPUT_ANSI_ENABLED: DETECT
SPRING_JPA_SHOW_SQL: false
JHI_DISABLE_WEBPACK_LOGS: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12.16.1
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Stop MySQL server
run: sudo /etc/init.d/mysql stop
- name: Install node.js packages
run: yarn install
- name: Run backend test
run: |
chmod +x mvnw
./mvnw -ntp clean verify -P-webpack
# - name: Run frontend test
# run: yarn run test-ci
- name: Package application
run: ./mvnw -ntp package -Pprod -DskipTests