build: Upgrade to Node 24 (#2459)
This commit is contained in:
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
@@ -12,13 +12,12 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
node: [20, 24]
|
||||
continue-on-error: ${{ matrix.node == 24 }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
node-version-file: '.nvmrc'
|
||||
- run: make validate.ci
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
8768
package-lock.json
generated
8768
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -92,13 +92,7 @@ describe('<ComponentManagement />', () => {
|
||||
expect(await screen.findByText('Published')).toBeInTheDocument();
|
||||
expect(screen.getByText('Published')).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(
|
||||
(_: string, element: Element | null) => !!element
|
||||
&& element.nodeName === 'SPAN'
|
||||
&& /Last published on June 22, 2024 at (00:00|24:00) by Luke\./.test(
|
||||
getInnerText(element),
|
||||
),
|
||||
),
|
||||
screen.getByText(matchInnerText('SPAN', 'Last published on June 22, 2024 at 00:00 by Luke.')),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
||||
@@ -4,9 +4,15 @@
|
||||
"outDir": "dist",
|
||||
"baseUrl": "./src",
|
||||
"paths": {
|
||||
"@src/*": ["./*"],
|
||||
}
|
||||
"@src/*": ["./*"]
|
||||
},
|
||||
"include": ["*.js", ".eslintrc.js", "src/**/*", "plugins/**/*"],
|
||||
"types": ["jest", "@testing-library/jest-dom"]
|
||||
},
|
||||
"include": [
|
||||
"*.js",
|
||||
".eslintrc.js",
|
||||
"src/**/*",
|
||||
"plugins/**/*"
|
||||
],
|
||||
"exclude": ["dist", "node_modules"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user