Skip to content

Commit 9ee8e5c

Browse files
authored
chore: update to Theia CR 1.71.2 and modernize CI workflows (#57)
* chore: update to Theia CR 1.71.2 - update example application to latest Theia CR - update dependencies * ci: modernize build workflow and simplify dependency install * ci: modernize publish workflow and simplify dependency install
1 parent 98b7906 commit 9ee8e5c

5 files changed

Lines changed: 1984 additions & 1925 deletions

File tree

.github/workflows/build-ci.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,21 @@ jobs:
2828

2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232

33-
- name: Setup Node 20
34-
uses: actions/setup-node@v4
33+
- name: Use Node.js 24.x
34+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3535
with:
36-
node-version: 20.x
36+
node-version: 24.x
3737

38-
- name: Install tools and libraries
39-
run: sudo apt-get install -y build-essential libx11-dev libxkbfile-dev libsecret-1-dev
40-
41-
- name: Use Python 3.11
42-
uses: actions/setup-python@v5
38+
- name: Use Python 3.13
39+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4340
with:
44-
python-version: '3.11'
41+
python-version: '3.13'
4542

4643
- name: Install and Build
4744
shell: bash
48-
run: |
49-
yarn global add node-gyp
50-
yarn --skip-integrity-check --network-timeout 100000
45+
run: yarn
5146
env:
5247
NODE_OPTIONS: --max_old_space_size=4096
5348
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-ci.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,24 @@ jobs:
1818
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1919

2020
steps:
21-
- name: Checkout Repository
22-
uses: actions/checkout@v4
21+
- name: Checkout
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
fetch-depth: 0 # pulls all history and tags for Lerna to detect which packages changed
2525

26-
- name: Setup Node 20
27-
uses: actions/setup-node@v4
26+
- name: Use Node.js 24.x
27+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2828
with:
29-
node-version: 20.x
29+
node-version: 24.x
3030

31-
- name: Install tools and libraries
32-
run: sudo apt-get install -y build-essential libx11-dev libxkbfile-dev libsecret-1-dev
33-
34-
- name: Use Python 3.11
35-
uses: actions/setup-python@v5
31+
- name: Use Python 3.13
32+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3633
with:
37-
python-version: '3.11'
34+
python-version: '3.13'
3835

3936
- name: Install and Build
4037
shell: bash
41-
run: |
42-
yarn global add node-gyp
43-
yarn --skip-integrity-check --network-timeout 100000
38+
run: yarn
4439
env:
4540
NODE_OPTIONS: --max_old_space_size=4096
4641
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

example/browser-app/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"license": "(EPL-2.0 OR MIT)",
55
"version": "0.7.0",
66
"dependencies": {
7-
"@theia/core": "1.68.2",
8-
"@theia/editor": "1.68.2",
9-
"@theia/filesystem": "1.68.2",
10-
"@theia/markers": "1.68.2",
11-
"@theia/messages": "1.68.2",
12-
"@theia/monaco": "1.68.2",
13-
"@theia/navigator": "1.68.2",
14-
"@theia/preferences": "1.68.2",
15-
"@theia/process": "1.68.2",
16-
"@theia/property-view": "1.68.2",
17-
"@theia/terminal": "1.68.2",
18-
"@theia/workspace": "1.68.2",
7+
"@theia/core": "1.71.2",
8+
"@theia/editor": "1.71.2",
9+
"@theia/filesystem": "1.71.2",
10+
"@theia/markers": "1.71.2",
11+
"@theia/messages": "1.71.2",
12+
"@theia/monaco": "1.71.2",
13+
"@theia/navigator": "1.71.2",
14+
"@theia/preferences": "1.71.2",
15+
"@theia/process": "1.71.2",
16+
"@theia/property-view": "1.71.2",
17+
"@theia/terminal": "1.71.2",
18+
"@theia/workspace": "1.71.2",
1919
"@eclipse-emfcloud/person-detail-property-view": "*"
2020
},
2121
"devDependencies": {
22-
"@theia/cli": "1.68.2"
22+
"@theia/cli": "1.71.2"
2323
},
2424
"scripts": {
2525
"prepare": "yarn run clean && yarn build",

jsonforms-property-view/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"@jsonforms/core": "^3.0.0",
2929
"@jsonforms/react": "^3.0.0",
3030
"@jsonforms/vanilla-renderers": "^3.0.0",
31-
"@theia/core": "^1.68.2",
32-
"@theia/filesystem": "^1.68.2",
33-
"@theia/property-view": "^1.68.2",
34-
"@theia/workspace": "^1.68.2",
31+
"@theia/core": "^1.71.2",
32+
"@theia/filesystem": "^1.71.2",
33+
"@theia/property-view": "^1.71.2",
34+
"@theia/workspace": "^1.71.2",
3535
"react": "^18.2.0",
3636
"react-dom": "^18.2.0"
3737
},
@@ -57,4 +57,4 @@
5757
"frontend": "lib/browser/frontend-module"
5858
}
5959
]
60-
}
60+
}

0 commit comments

Comments
 (0)