Skip to content

Commit e54e62e

Browse files
authored
Merge branch 'main' into metrics-card
2 parents 9e272e2 + f9645f1 commit e54e62e

131 files changed

Lines changed: 5943 additions & 1962 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/codeql/codeql-config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ queries:
66

77
# Enable inline suppression comments (// codeql[query-id])
88
packs:
9-
- codeql/javascript-queries:AlertSuppression.ql
9+
javascript:
10+
- codeql/javascript-queries:AlertSuppression.ql
1011

1112
paths-ignore:
1213
- '**/test/**'

.github/scripts/test-registry/test-registry.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,21 @@ function testComponent(component: string, baseAppPath: string): TestResult {
2727
});
2828

2929
// Install the component from registry
30-
const addOutput = execFileSync('pnpm', ['exec', 'shadcn', 'add', `@uipath/${component}`], {
30+
const addOutput = execFileSync('pnpm', ['exec', 'shadcn', 'add', `@uipath/${component}`, '--overwrite'], {
3131
encoding: 'utf-8',
3232
stdio: ['pipe', 'pipe', 'pipe'],
3333
cwd: testDir,
3434
});
3535

36-
// Run build to verify all imports resolve correctly
37-
const buildOutput = execFileSync('pnpm', ['run', 'build'], {
36+
// Type-check all files to verify all imports resolve correctly
37+
// (next build only checks files in the build graph — components not imported by any page would be skipped)
38+
const tscOutput = execFileSync('pnpm', ['exec', 'tsc', '--noEmit'], {
3839
encoding: 'utf-8',
3940
stdio: ['pipe', 'pipe', 'pipe'],
4041
cwd: testDir,
4142
});
4243

43-
return { component, success: true, output: `${addOutput}\n${buildOutput}` };
44+
return { component, success: true, output: `${addOutput}\n${tscOutput}` };
4445
} catch (error) {
4546
if (error instanceof Error && 'stdout' in error && 'stderr' in error) {
4647
return { component, success: false, output: `${error.stdout}\n${error.stderr}` };

.github/workflows/apollo-vertex-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424

2525
- name: Setup pnpm
26-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
26+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
2727

2828
- name: Setup Node.js
2929
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/apollo-vertex-registry-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4747

4848
- name: Setup pnpm
49-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
49+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
5050

5151
- name: Setup Node.js
5252
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
@@ -130,7 +130,7 @@ jobs:
130130
pnpm-lock.yaml
131131
132132
- name: Setup pnpm
133-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
133+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
134134

135135
- name: Setup Node.js
136136
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/codeql.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,19 @@ jobs:
5151
languages: ${{ matrix.language }}
5252
build-mode: ${{ matrix.build-mode }}
5353
config-file: .github/codeql/codeql-config.yml
54-
# Enable alert suppression support for lgtm/codeql comments (JavaScript only)
55-
packs: ${{ matrix.language == 'javascript-typescript' && '+codeql/javascript-queries:AlertSuppression.ql' || '' }}
5654

5755
- name: Perform CodeQL Analysis
56+
id: analyze
5857
uses: github/codeql-action/analyze@45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2 # v4.32.2
5958
with:
6059
category: /language:${{ matrix.language }}
60+
output: sarif-results
61+
62+
- name: Dismiss suppressed alerts
63+
if: github.ref == 'refs/heads/main' && matrix.language == 'javascript-typescript'
64+
uses: advanced-security/dismiss-alerts@3478381bd53e9f9a9ea1c23bd25ef0ec236e0d06 # v2
65+
with:
66+
sarif-id: ${{ steps.analyze.outputs['sarif-id'] }}
67+
sarif-file: sarif-results/javascript.sarif
68+
env:
69+
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
persist-credentials: false
1919

2020
- name: Setup pnpm
21-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
21+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
2222

2323
- name: Setup Node.js
2424
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
persist-credentials: false
2222

2323
- name: Setup pnpm
24-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
24+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
2525

2626
- name: Setup Node.js
2727
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
script: |
4545
const fs = require('fs');
46-
const reportPath = '/tmp/license-report.md';
46+
const reportPath = '${{ runner.temp }}/license-report.md';
4747
const marker = '<!-- dependency-license-review -->';
4848
4949
let report;

.github/workflows/dev-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
ref: main
2929

3030
- name: Setup pnpm
31-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
31+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
3232

3333
- name: Setup Node.js
3434
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/dev-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
149149

150150
- name: Setup pnpm
151-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
151+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
152152

153153
- name: Setup Node.js
154154
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
@@ -188,7 +188,7 @@ jobs:
188188
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
189189

190190
- name: Setup pnpm
191-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
191+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
192192

193193
- name: Setup Node.js
194194
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
@@ -227,7 +227,7 @@ jobs:
227227
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
228228

229229
- name: Setup pnpm
230-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
230+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
231231

232232
- name: Setup Node.js
233233
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/notify-vertex-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Setup pnpm
23-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
23+
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

0 commit comments

Comments
 (0)