diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1b9f707..b5f01015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Java CI +name: Juick on: pull_request: @@ -6,12 +6,11 @@ on: branches: [master] jobs: - build: - runs-on: ubuntu-20.04 + current: + runs-on: ubuntu-latest strategy: matrix: profile: [default, postgres, mysql] - name: OpenJDK services: postgres: image: postgres @@ -32,11 +31,11 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-retries=3 --health-timeout=5s --health-start-period=15s steps: - uses: actions/checkout@v2 - - name: Set up JDK 19 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: "temurin" - java-version: 19 + java-version: 17 cache: "maven" - name: Setup Node.JS 18 uses: actions/setup-node@v3 @@ -57,6 +56,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Setup Node.JS 18 + uses: actions/setup-node@v3 + with: + node-version: "18" + cache: "npm" - run: npm ci - run: npm test - run: npm run lint |