Skip to content

Commit

Permalink
Upping 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 c2ed76d
Show file tree
Hide file tree
Showing 34 changed files with 176 additions and 40 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 @@ -21,16 +21,20 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -21,8 +21,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -21,8 +21,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -21,16 +21,20 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -21,8 +21,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -28,8 +28,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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-record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/refapp-2x-patient-visit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
HUB_PORT: 4444
steps:
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Checkout qaframework
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Run db and web containers
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/refapp-2x-person.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
HUB_PORT: 4444
steps:
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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-phoneNumberValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- 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 c2ed76d

Please sign in to comment.