Skip to content

Commit ad7ee43

Browse files
committed
Merge remote-tracking branch 'origin/vnext' into sstoychev/sbf
2 parents 0a3d530 + 1f9291e commit ad7ee43

1,014 files changed

Lines changed: 52569 additions & 39215 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.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github/workflows/*.lock.yml linguist-generated=true merge=ours

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Code view example:
192192
```html
193193
<code-view style="height:700px"
194194
data-demos-base-url="{environment:lobDemosBaseUrl}"
195-
iframe-src="{environment:lobDemosBaseUrl}/grid/grid"
195+
iframe-src="{environment:lobDemosBaseUrl}/grid/grid/"
196196
alt="Angular data grid example">
197197
</code-view>
198198
```

.github/aw/actions-lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"entries": {
3+
"actions/github-script@v8": {
4+
"repo": "actions/github-script",
5+
"version": "v8",
6+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
7+
},
8+
"github/gh-aw/actions/setup@v0.57.2": {
9+
"repo": "github/gh-aw/actions/setup",
10+
"version": "v0.57.2",
11+
"sha": "32b3a711a9ee97d38e3989c90af0385aff0066a7"
12+
}
13+
}
14+
}

.github/workflows/build-en.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
name: Build English Documentation
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
branches:
9+
- vnext
10+
- master
11+
paths-ignore:
12+
- '**/jp/**'
13+
- '**/kr/**'
14+
workflow_dispatch:
15+
inputs:
16+
branch:
17+
description: 'Branch to checkout'
18+
type: string
19+
default: ''
20+
isVerbose:
21+
description: 'Get verbose output from steps - where configurable'
22+
type: boolean
23+
default: false
24+
shouldCleanPostExecution:
25+
description: 'Clean all pipeline dirs after the pipeline finishes?'
26+
type: boolean
27+
default: true
28+
29+
env:
30+
BUILD_TYPE: ${{ github.ref_name == 'master' && 'production' || 'staging' }}
31+
TARGET_REF: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }}
32+
33+
jobs:
34+
build:
35+
name: Build Job
36+
runs-on: ubuntu-latest
37+
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@v4
41+
with:
42+
ref: ${{ env.TARGET_REF }}
43+
clean: true
44+
fetch-tags: true
45+
fetch-depth: 0
46+
47+
- name: Setup Node.js 20.x
48+
uses: actions/setup-node@v4
49+
with:
50+
node-version: '20.x'
51+
52+
- name: Setup .NET Core SDK 6.x
53+
uses: actions/setup-dotnet@v4
54+
with:
55+
dotnet-version: '6.x'
56+
57+
- name: Install dependencies
58+
run: npm ci --production=false ${{ github.event.inputs.isVerbose == 'true' && '--verbose' || '' }}
59+
60+
- name: Build English documentation
61+
run: npm run build-${{ env.BUILD_TYPE }} -- --lang=en ${{ github.event.inputs.isVerbose == 'true' && '--verbose' || '' }}
62+
63+
- name: Package English build
64+
run: |
65+
cd en/_site
66+
zip -r ../../${{ env.BUILD_TYPE }}_en.zip .
67+
cd ../..
68+
69+
- name: Upload artifact
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: IgniteUIDocFX-en
73+
path: ${{ env.BUILD_TYPE }}_en.zip
74+
retention-days: 1
75+
76+
- name: Clean workspace
77+
if: ${{ github.event.inputs.shouldCleanPostExecution == 'true' || github.event_name == 'push' }}
78+
run: |
79+
git clean -ffdx
80+
git reset --hard
81+
82+
- name: Trigger Deploy Workflow in IgniteUI Actions
83+
uses: actions/github-script@v8
84+
with:
85+
github-token: ${{ secrets.CLASSIC_PAT_GITHUB }}
86+
script: |
87+
await github.rest.repos.createDispatchEvent({
88+
owner: 'IgniteUI',
89+
repo: 'igniteui-actions',
90+
event_type: 'igniteui-docfx-cd',
91+
client_payload: {
92+
calling_branch: "${{ env.TARGET_REF }}",
93+
repository: "${{ github.repository }}",
94+
run_id: "${{ github.run_id }}",
95+
artifact_name: "IgniteUIDocFX-en",
96+
base_href: "angular-samples",
97+
platform: "angular",
98+
locale: "en",
99+
ref: "${{ github.ref }}",
100+
sha: "${{ github.sha }}",
101+
branch: '${{ github.ref_name }}',
102+
}
103+
});

.github/workflows/build-jp-kr.yml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
name: Build Japanese and Korean Documentation
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
branches:
9+
- vnext
10+
- master
11+
paths-ignore:
12+
- '**/en/**'
13+
workflow_dispatch:
14+
inputs:
15+
branch:
16+
description: 'Branch to checkout'
17+
type: string
18+
default: ''
19+
isVerbose:
20+
description: 'Get verbose output from steps - where configurable'
21+
type: boolean
22+
default: false
23+
shouldCleanPostExecution:
24+
description: 'Clean all pipeline dirs after the pipeline finishes?'
25+
type: boolean
26+
default: true
27+
28+
env:
29+
BUILD_TYPE: ${{ github.ref_name == 'master' && 'production' || 'staging' }}
30+
TARGET_REF: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }}
31+
32+
jobs:
33+
build:
34+
name: Build Job
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout repository
39+
uses: actions/checkout@v4
40+
with:
41+
ref: ${{ env.TARGET_REF }}
42+
clean: true
43+
fetch-tags: true
44+
fetch-depth: 0
45+
46+
- name: Setup Node.js 20.x
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: '20.x'
50+
51+
- name: Setup .NET Core SDK 6.x
52+
uses: actions/setup-dotnet@v4
53+
with:
54+
dotnet-version: '6.x'
55+
56+
- name: Install dependencies
57+
run: npm ci --production=false ${{ github.event.inputs.isVerbose == 'true' && '--verbose' || '' }}
58+
59+
- name: Build Japanese documentation
60+
run: npm run build-${{ env.BUILD_TYPE }} -- --lang=jp ${{ github.event.inputs.isVerbose == 'true' && '--verbose' || '' }}
61+
62+
- name: Package Japanese build
63+
run: |
64+
cd jp/_site
65+
zip -r ../../${{ env.BUILD_TYPE }}_jp.zip .
66+
cd ../..
67+
68+
- name: Build Korean documentation
69+
run: npm run build-${{ env.BUILD_TYPE }} -- --lang=kr ${{ github.event.inputs.isVerbose == 'true' && '--verbose' || '' }}
70+
71+
- name: Package Korean build
72+
run: |
73+
cd kr/_site
74+
zip -r ../../${{ env.BUILD_TYPE }}_kr.zip .
75+
cd ../..
76+
77+
- name: Upload artifacts
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: IgniteUIDocFX-jp-kr
81+
path: |
82+
${{ env.BUILD_TYPE }}_jp.zip
83+
# ${{ env.BUILD_TYPE }}_kr.zip
84+
retention-days: 1
85+
86+
- name: Clean workspace
87+
if: ${{ github.event.inputs.shouldCleanPostExecution == 'true' || github.event_name == 'push' }}
88+
run: |
89+
git clean -ffdx
90+
git reset --hard
91+
92+
- name: Trigger Deploy Workflow in IgniteUI Actions
93+
uses: actions/github-script@v8
94+
with:
95+
github-token: ${{ secrets.CLASSIC_PAT_GITHUB }}
96+
script: |
97+
await github.rest.repos.createDispatchEvent({
98+
owner: 'IgniteUI',
99+
repo: 'igniteui-actions',
100+
event_type: 'igniteui-docfx-cd',
101+
client_payload: {
102+
calling_branch: "${{ env.TARGET_REF }}",
103+
repository: "${{ github.repository }}",
104+
run_id: "${{ github.run_id }}",
105+
artifact_name: "IgniteUIDocFX-jp-kr",
106+
base_href: "angular-samples",
107+
platform: "angular",
108+
locale: "jp",
109+
ref: "${{ github.ref }}",
110+
sha: "${{ github.sha }}",
111+
branch: '${{ github.ref_name }}',
112+
}
113+
});

.github/workflows/node.js.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [16.x, 18.x]
19+
node-version: [20.x, 22.x]
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
2828
- run: dotnet tool restore
29+
- run: npm run verify
2930
- run: npm run build-gh-actions
3031

0 commit comments

Comments
 (0)