Skip to content

Commit 37f2a37

Browse files
fix: suppress TS deprecation errors and update Node to 22 in CI
- tsconfig.json: add ignoreDeprecations "5.0" to silence TypeScript 5.x deprecated-option errors that were failing the build - hpux-prototypes-github-pages.yml: bump node-version from 20 to 22 (LTS) ahead of the June 2 forced Node 24 migration Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 145a31a commit 37f2a37

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/hpux-prototypes-github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: "20"
34+
node-version: "22"
3535
cache: npm
3636
cache-dependency-path: hpux-prototypes/package-lock.json
3737

hpux-prototypes/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"@assets/*": ["node_modules/@patternfly/react-core/dist/styles/assets/*"]
2424
},
2525
"importHelpers": true,
26-
"skipLibCheck": true
26+
"skipLibCheck": true,
27+
"ignoreDeprecations": "5.0"
2728
},
2829
"include": [
2930
"**/*.ts",

0 commit comments

Comments
 (0)