Skip to content

Commit

Permalink
chore: upgrade to JHipster 8, Java 17, and Node.js 18/20 in pipeline …
Browse files Browse the repository at this point in the history
…tests

closes jhipster#609
  • Loading branch information
jtkiesel committed Oct 27, 2023
1 parent a7f9a5f commit e9a7de4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@ jobs:
strategy:
matrix:
node_version:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: actions/setup-java@v1
with:
java-version: '11.x'
java-version: '17.x'
- name: Install dependencies
run: yarn
- name: Run CI
Expand All @@ -33,15 +32,15 @@ jobs:
test_repository:
- e2e-jhipster1
- e2e-jhipster2
node_version: [14.x]
node_version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: actions/setup-java@v1
with:
java-version: '11.x'
java-version: '17.x'
- name: Install dependencies
run: yarn
- name: Build prettier-plugin-java
Expand Down
8 changes: 4 additions & 4 deletions packages/java-parser/scripts/clone-samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ const samplesDir = path.resolve(__dirname, "../samples");
const sampleRepos = [
{
repoUrl: "https://github.com/iluwatar/java-design-patterns.git",
branch: "1.20.0"
branch: "1.25.0"
},
{
repoUrl: "https://github.com/spring-projects/spring-boot.git",
branch: "v2.1.0.RELEASE"
branch: "v3.1.5"
},
{
repoUrl: "https://github.com/google/guava.git",
branch: "v27.0.1"
branch: "v32.1.3"
},
{
repoUrl: "https://github.com/spring-projects/spring-framework.git",
branch: "v5.1.5.RELEASE"
branch: "v6.0.13"
},
{
repoUrl: "https://github.com/jhipster/jhipster",
Expand Down
26 changes: 13 additions & 13 deletions packages/prettier-plugin-java/scripts/clone-samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,65 +9,65 @@ const samplesDir = path.resolve(__dirname, "../samples");
const core = [
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster",
branch: "main"
},
{
repoUrl: "https://github.com/spring-projects/spring-boot.git",
branch: "v2.1.0.RELEASE"
branch: "v3.1.5"
},
{
repoUrl: "https://github.com/iluwatar/java-design-patterns.git",
branch: "1.20.0"
branch: "1.25.0"
}
];

const jhipster1 = [
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-microservice",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-oauth2",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-websocket",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-noi18n",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-hazelcast",
branch: "v7.9.3"
branch: "main"
}
];

const jhipster2 = [
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-elasticsearch",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-dto",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-cassandra",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-mongodb",
branch: "v7.9.3"
branch: "main"
},
{
repoUrl: "https://github.com/jhipster/jhipster-sample-app-react",
branch: "v7.9.3"
branch: "main"
}
];

Expand Down

0 comments on commit e9a7de4

Please sign in to comment.