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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [20, 24]
|
node: [20, 24]
|
||||||
continue-on-error: ${{ matrix.node == 24 }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-node@v5
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version-file: '.nvmrc'
|
||||||
- run: make validate.ci
|
- run: make validate.ci
|
||||||
- name: Archive code coverage results
|
- name: Archive code coverage results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
8770
package-lock.json
generated
8770
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(await screen.findByText('Published')).toBeInTheDocument();
|
||||||
expect(screen.getByText('Published')).toBeInTheDocument();
|
expect(screen.getByText('Published')).toBeInTheDocument();
|
||||||
expect(
|
expect(
|
||||||
screen.getByText(
|
screen.getByText(matchInnerText('SPAN', 'Last published on June 22, 2024 at 00:00 by Luke.')),
|
||||||
(_: string, element: Element | null) => !!element
|
|
||||||
&& element.nodeName === 'SPAN'
|
|
||||||
&& /Last published on June 22, 2024 at (00:00|24:00) by Luke\./.test(
|
|
||||||
getInnerText(element),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
).toBeInTheDocument();
|
).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,15 @@
|
|||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@src/*": ["./*"],
|
"@src/*": ["./*"]
|
||||||
}
|
},
|
||||||
|
"types": ["jest", "@testing-library/jest-dom"]
|
||||||
},
|
},
|
||||||
"include": ["*.js", ".eslintrc.js", "src/**/*", "plugins/**/*"],
|
"include": [
|
||||||
|
"*.js",
|
||||||
|
".eslintrc.js",
|
||||||
|
"src/**/*",
|
||||||
|
"plugins/**/*"
|
||||||
|
],
|
||||||
"exclude": ["dist", "node_modules"]
|
"exclude": ["dist", "node_modules"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user