Skip to content

Commit

Permalink
Bump GitHub Actions to v4 and setup node to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Mar 26, 2024
1 parent 3dfc352 commit e50ad77
Show file tree
Hide file tree
Showing 34 changed files with 174 additions and 38 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/platform-install-advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,24 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout openmrs-core
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: openmrs/openmrs-core
- name: build platform
run: |
mvn clean install -DskipTests=true
cp webapp/target/openmrs.war ../
- name: Checkout qaframework
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: ${{github.repository}}
- name: run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/platform-install-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout openmrs-core
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: openmrs/openmrs-core
- name: build platform
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/platform-install-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout openmrs-core
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: openmrs/openmrs-core
- name: build platform
Expand All @@ -31,7 +35,7 @@ jobs:
mvn clean install -DskipTests=true
cp webapp/target/openmrs.war ../
- name: Checkout qaframework
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: ${{github.repository}}
- name: run db and web containers
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/platform-install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,24 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout openmrs-core
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: openmrs/openmrs-core
- name: build platform
run: |
mvn clean install -DskipTests=true
cp webapp/target/openmrs.war ../
- name: Checkout qaframework
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: ${{github.repository}}
- name: run db and web containers
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/platform-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout openmrs-core
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: openmrs/openmrs-core
- name: build platform
Expand All @@ -31,7 +35,7 @@ jobs:
mvn clean install -DskipTests=true
cp webapp/target/openmrs.war ../
- name: Checkout qaframework
uses: actions/checkout@master
uses: actions/checkout@v4
with:
repository: ${{github.repository}}
- name: run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run db and web containers
run: |
docker-compose -f docker/docker-compose-refqa.yml up -d
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-appointment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-clinical-visit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run db and web containers
run: |
docker-compose -f docker/docker-compose-refqa.yml up -d
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-condition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-find-Patient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-inpatient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-location-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-open-concept-lab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-patient-allergies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-patient-demographics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refapp-2x-patient-encounter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
HUB_HOST: hub
HUB_PORT: 4444
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
Loading

0 comments on commit e50ad77

Please sign in to comment.