Skip to content

Commit 6bcfba8

Browse files
Merge branch 'main' into fix/person-attribute-clean
2 parents 1b53792 + 63e691d commit 6bcfba8

File tree

13 files changed

+1015
-3153
lines changed

13 files changed

+1015
-3153
lines changed

.github/workflows/e2e.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: 📥 Checkout repo
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: 📋 Copy test environment variables
2424
run: cp example.env .env
2525

2626
- name: 🛠️ Setup node
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: 20
29+
node-version: 22
3030

3131
- name: 💾 Cache dependencies
3232
id: cache-dependencies
33-
uses: actions/cache@v4
33+
uses: actions/cache@v5
3434
with:
3535
path: '**/node_modules'
3636
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: 💾 Cache Playwright binaries
4747
id: playwright-cache
48-
uses: actions/cache@v4
48+
uses: actions/cache@v5
4949
with:
5050
path: |
5151
~/.cache/ms-playwright
@@ -56,7 +56,7 @@ jobs:
5656
if: steps.playwright-cache.outputs.cache-hit != 'true'
5757

5858
- name: 🚀 Setup local cache server for Turborepo
59-
uses: felixmosh/turborepo-gh-artifacts@v3
59+
uses: felixmosh/turborepo-gh-artifacts@v4
6060
with:
6161
repo-token: ${{ secrets.GITHUB_TOKEN }}
6262
server-token: ${{ env.TURBO_TOKEN }}
@@ -78,7 +78,7 @@ jobs:
7878
run: docker stop $(docker ps -a -q)
7979

8080
- name: 📤 Upload Report
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v7
8282
if: always()
8383
with:
8484
name: playwright-report
@@ -93,7 +93,7 @@ jobs:
9393
dest: './logs'
9494

9595
- name: 📦 Upload Logs as Artifact
96-
uses: actions/upload-artifact@v4
96+
uses: actions/upload-artifact@v7
9797
if: always()
9898
with:
9999
name: server-logs

.github/workflows/node.js.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: 🛠️ Setup Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: "20"
2727

@@ -37,7 +37,7 @@ jobs:
3737
run: yarn install --immutable
3838

3939
- name: 🚀 Setup local cache server for Turborepo
40-
uses: felixmosh/turborepo-gh-artifacts@v3
40+
uses: felixmosh/turborepo-gh-artifacts@v4
4141
with:
4242
repo-token: ${{ secrets.GITHUB_TOKEN }}
4343
server-token: ${{ env.TURBO_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
4949
run: yarn turbo run build
5050

5151
- name: 📤 Upload Artifacts
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@v7
5353
with:
5454
name: dist
5555
path: |
@@ -64,9 +64,9 @@ jobs:
6464
if: ${{ github.event_name == 'push' }}
6565

6666
steps:
67-
- uses: actions/checkout@v4
67+
- uses: actions/checkout@v6
6868
- name: 🛠️ Setup Node.js
69-
uses: actions/setup-node@v4
69+
uses: actions/setup-node@v6
7070
with:
7171
node-version: "20"
7272

@@ -82,7 +82,7 @@ jobs:
8282
run: yarn install --immutable
8383

8484
- name: 🚀 Setup local cache server for Turborepo
85-
uses: felixmosh/turborepo-gh-artifacts@v3
85+
uses: felixmosh/turborepo-gh-artifacts@v4
8686
with:
8787
repo-token: ${{ secrets.GITHUB_TOKEN }}
8888
server-token: ${{ env.TURBO_TOKEN }}
@@ -103,7 +103,7 @@ jobs:
103103
env:
104104
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
105105
- name: 📤 Upload Artifacts
106-
uses: actions/upload-artifact@v4
106+
uses: actions/upload-artifact@v7
107107
with:
108108
name: dist
109109
path: |
@@ -118,11 +118,11 @@ jobs:
118118
if: ${{ github.event_name == 'release' }}
119119

120120
steps:
121-
- uses: actions/checkout@v4
121+
- uses: actions/checkout@v6
122122
- name: 📥 Download Artifacts
123123
uses: actions/download-artifact@v4
124124
- name: 🛠️ Use Node.js
125-
uses: actions/setup-node@v4
125+
uses: actions/setup-node@v6
126126
with:
127127
node-version: "20"
128128

@@ -138,7 +138,7 @@ jobs:
138138
run: yarn install --immutable
139139

140140
- name: 🚀 Setup local cache server for Turborepo
141-
uses: felixmosh/turborepo-gh-artifacts@v3
141+
uses: felixmosh/turborepo-gh-artifacts@v4
142142
with:
143143
repo-token: ${{ secrets.GITHUB_TOKEN }}
144144
server-token: ${{ env.TURBO_TOKEN }}
@@ -151,7 +151,7 @@ jobs:
151151
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
152152

153153
- name: 📤 Upload Artifacts
154-
uses: actions/upload-artifact@v4
154+
uses: actions/upload-artifact@v7
155155
with:
156156
name: dist
157157
path: |

.github/workflows/open-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
with:
2828
# Fetch full history so tools that read tags/changelog (if any) work
2929
fetch-depth: 0
3030

3131
- name: Setup Node.js
32-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v6
3333
with:
3434
node-version: 20
3535

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR description check
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
10+
11+
permissions: {}
12+
13+
jobs:
14+
pr-description:
15+
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/frontend-pr-description-check.yml@main
16+
with:
17+
pr-body: ${{ github.event.pull_request.body }}
18+
pr-author-login: ${{ github.event.pull_request.user.login }}
19+
pr-author-type: ${{ github.event.pull_request.user.type }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR title check
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
10+
11+
permissions: {}
12+
13+
jobs:
14+
pr-title:
15+
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/frontend-pr-title-check.yml@main
16+
with:
17+
pr-title: ${{ github.event.pull_request.title }}
18+
pr-author-login: ${{ github.event.pull_request.user.login }}
19+
pr-author-type: ${{ github.event.pull_request.user.type }}

.github/workflows/size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414

1515
- name: 📏 Compute bundle size differences
1616
uses: preactjs/compressed-size-action@v2

.github/workflows/tx-pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: 🌐 Pull translations using transifex client
2121
uses: transifex/cli-action@v2
2222
with:

.github/workflows/tx-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
actions: read
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
- name: Push source file using transifex client
1919
uses: transifex/cli-action@v2
2020
with:

.github/workflows/update-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
steps:
2424
# Step 1: Check out repository
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727

2828
# Step 2: Setup Node.js environment
2929
- name: 🟢 Setup Node.js
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: 20
3333

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"@types/webpack-env": "^1.18.5",
8787
"@typescript-eslint/eslint-plugin": "^8.0.0",
8888
"@typescript-eslint/parser": "^8.0.0",
89-
"css-loader": "^6.11.0",
9089
"eslint": "^8.57.0",
9190
"eslint-plugin-import": "^2.31.0",
9291
"eslint-plugin-jest-dom": "^5.4.0",
@@ -108,11 +107,8 @@
108107
"react-error-boundary": "^4.0.13",
109108
"react-i18next": "^16.0.0",
110109
"rxjs": "^6.6.7",
111-
"swc-loader": "^0.2.6",
112110
"turbo": "^2.5.2",
113-
"typescript": "^5.0.0",
114-
"webpack": "^5.99.9",
115-
"webpack-cli": "^6.0.1"
111+
"typescript": "^5.0.0"
116112
},
117113
"lint-staged": {
118114
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",

0 commit comments

Comments
 (0)