aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-14 10:53:35 +0300
committerGravatar Vitaly Takmazov2023-01-14 10:53:35 +0300
commit456f2a28efc72809c4ac7dd7ee838e0e5b0a061f (patch)
tree7e909db22de3a7015c2f1ef40750178b175d0209 /.github/workflows
parente6fe43a3b238fa972725ed0d6c374235be20d44b (diff)
CI: cleanup workflow
* better job naming * runs on ubuntu-latest * use Java LTS * use setup-node in vnext
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml16
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