Skip to content

Commit 1c551c8

Browse files
authored
Merge branch 'main' into main
2 parents 10c9973 + e03b1c2 commit 1c551c8

272 files changed

Lines changed: 10685 additions & 2146 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: 'yarn'
2222

2323
- name: Install
24-
run: yarn --frozen-lockfile
24+
run: yarn --immutable
2525

2626
- name: Build
2727
run: yarn ci:testbuild

.github/workflows/deploy-preview.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ on:
1414
- 'packages/base/src/**/*.ts'
1515
- 'packages/ai/src/**/*.css'
1616
- 'packages/ai/src/**/*.ts'
17+
- 'packages/ai/src/**/*.tsx'
1718
- 'packages/compat/src/**/*.css'
1819
- 'packages/compat/src/**/*.ts'
20+
- 'packages/compat/src/**/*.tsx'
1921
- 'packages/fiori/src/**/*.css'
2022
- 'packages/fiori/src/**/*.ts'
23+
- 'packages/fiori/src/**/*.tsx'
2124
- 'packages/main/src/**/*.css'
2225
- 'packages/main/src/**/*.ts'
26+
- 'packages/main/src/**/*.tsx'
2327
- '!**/*.spec.ts'
2428
- '!**/*.test.ts'
2529
- '!**/test/**'
@@ -76,12 +80,14 @@ jobs:
7680
7781
if (pr.state !== 'open') {
7882
console.log(`PR #${pr.number} was closed during build, skipping deployment`);
79-
core.setOutput('should_deploy', 'false');
83+
const fs = require('fs');
84+
fs.appendFileSync(process.env.GITHUB_OUTPUT, `should_deploy=false\n`);
8085
return;
8186
}
8287
8388
console.log(`PR #${pr.number} is still open, proceeding with deployment`);
84-
core.setOutput('should_deploy', 'true');
89+
const fs = require('fs');
90+
fs.appendFileSync(process.env.GITHUB_OUTPUT, `should_deploy=true\n`);
8591
8692
- name: Config Netlify CORS
8793
if: steps.final-pr-check.outputs.should_deploy == 'true'

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
yarn ci:deploy:nightly
4646
4747
- name: Deploy
48-
uses: JamesIves/github-pages-deploy-action@v4.3.3
48+
uses: JamesIves/github-pages-deploy-action@v4.7.6
4949
with:
5050
branch: gh-pages # The branch the action should deploy to.
5151
folder: packages/website/build # The folder the action should deploy.
@@ -79,7 +79,7 @@ jobs:
7979
yarn ci:deploy
8080
8181
- name: Deploy
82-
uses: JamesIves/github-pages-deploy-action@v4.3.3
82+
uses: JamesIves/github-pages-deploy-action@v4.7.6
8383
with:
8484
branch: gh-pages # The branch the action should deploy to.
8585
folder: packages/website/build # The folder the action should deploy.

.github/workflows/issue-close.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v5
11+
- uses: actions/stale@v9
1212
with:
1313
# The number of days old an issue can be before marking it stale.
1414
days-before-stale: 21

.github/workflows/issue-reopen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
// Allowed bots
2929
const isSystemUser = ['ui5-webcomponents-bot', 'github-actions[bot]'].includes(commenter);
3030
31-
core.setOutput('shouldReopen', !isSystemUser && commentAt > closedAt);
31+
const fs = require('fs');
32+
fs.appendFileSync(process.env.GITHUB_OUTPUT, `shouldReopen=${!isSystemUser && commentAt > closedAt}\n`);
3233
3334
- name: Reopen Issue
3435
if: steps.check.outputs.shouldReopen == 'true'

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache: 'yarn'
1818

1919
- name: Install Dependencies
20-
run: yarn --frozen-lockfile
20+
run: yarn --immutable
2121

2222
- name: Lint
2323
run: yarn ci:lint

.github/workflows/release-downport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cache: 'yarn'
2727

2828
- name: Install
29-
run: yarn --frozen-lockfile
29+
run: yarn --immutable
3030

3131
- name: Version Bump
3232
env:

.github/workflows/release.yaml

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ on:
1313
- 'stable'
1414
- 'hotfix'
1515
- 'experimental'
16+
- 'v1'
1617
default: 'rc'
1718
new_version:
18-
description: 'version (stable and hotfix only)'
19+
description: 'version (relevant for stable, hotfix, and v1)' # Updated description
1920
required: false
2021
default: ''
2122
type: string
@@ -48,7 +49,7 @@ jobs:
4849
cache: 'yarn'
4950

5051
- name: Install Dependencies
51-
run: yarn --frozen-lockfile
52+
run: yarn --immutable
5253

5354
- name: Build
5455
run: yarn ci:releasebuild
@@ -132,7 +133,7 @@ jobs:
132133
cache: 'yarn'
133134

134135
- name: Install Dependencies
135-
run: yarn --frozen-lockfile
136+
run: yarn --immutable
136137

137138
- name: Build
138139
run: yarn ci:releasebuild
@@ -200,7 +201,7 @@ jobs:
200201
cache: 'yarn'
201202

202203
- name: Install Dependencies
203-
run: yarn --frozen-lockfile
204+
run: yarn --immutable
204205

205206
- name: Build
206207
run: yarn ci:releasebuild
@@ -244,7 +245,7 @@ jobs:
244245
cache: 'yarn'
245246

246247
- name: Install Dependencies
247-
run: yarn --frozen-lockfile
248+
run: yarn --immutable
248249

249250
- name: Build
250251
run: yarn ci:releasebuild
@@ -267,4 +268,47 @@ jobs:
267268
268269
- name: Publish
269270
run: |
270-
yarn lerna publish from-git --yes --dist-tag experimental
271+
yarn lerna publish from-git --yes --dist-tag experimental --pre-dist-tag experimental
272+
273+
# ✅ Job 5: V1 Release Flow
274+
v1-release:
275+
if: ${{ github.event.inputs.release_type == 'v1' && github.event.inputs.new_version != '' }}
276+
permissions:
277+
contents: write
278+
id-token: write
279+
runs-on: ubuntu-latest
280+
steps:
281+
- name: Checkout
282+
uses: actions/checkout@v4
283+
with:
284+
token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
285+
fetch-depth: 0
286+
287+
- name: Setup Node
288+
uses: actions/setup-node@v4.1.0
289+
with:
290+
node-version: 22
291+
cache: 'yarn'
292+
293+
- name: Install Dependencies
294+
run: yarn --immutable
295+
296+
- name: Build
297+
run: yarn ci:releasebuild
298+
299+
- name: Version Bump
300+
env:
301+
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
302+
run: |
303+
git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
304+
git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
305+
yarn lerna version ${{ github.event.inputs.new_version || '' }} \
306+
--conventional-graduate \
307+
--force-conventional-graduate \
308+
--yes \
309+
--exact \
310+
--create-release github
311+
312+
- name: Publish
313+
run: |
314+
yarn lerna publish from-git --yes --dist-tag "v1"

0 commit comments

Comments
 (0)