Skip to content

Commit c86a598

Browse files
authored
build: Bump build scripts and CI to a more recent Node LTS version (#1605)
Closes #1601
1 parent edc9a0e commit c86a598

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ For detailed information on issue and pull request statuses, process for testing
1616

1717
## Set up
1818

19-
You will need at least [Node >= 18.19.0](https://nodejs.org/en) installed on your machine.
19+
You will need at least [Node >= 20.19.0](https://nodejs.org/en) installed on your machine.
2020

2121
Once you have the minimum Node version installed, you can continue with the rest of the repo setup.
2222

2323
```shell
2424
node -v
25-
v18.19.1
25+
v20.19.0
2626

2727
git clone https://github.com/IgniteUI/igniteui-webcomponents.git
2828
cd igniteui-webcomponents

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x, 20.x]
19+
node-version: [20.x, 22.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
@@ -32,7 +32,7 @@ jobs:
3232
- run: npm run test
3333
- run: npm run check
3434
- name: Publish to coveralls.io
35-
if: matrix.node-version == '18.x'
35+
if: matrix.node-version == '20.x'
3636
uses: coverallsapp/github-action@v2
3737
with:
3838
github-token: ${{ github.token }}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
1313
with:
14-
node-version: '18'
14+
node-version: '20'
1515
cache: 'npm'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
getVsCodeCssCustomData,
99
getVsCodeHtmlCustomData,
1010
} from 'custom-element-vs-code-integration';
11-
import customElements from '../custom-elements.json' assert { type: 'json' };
11+
import customElements from '../custom-elements.json' with { type: 'json' };
1212
import report from './report.mjs';
1313
import { buildComponents, buildThemes } from './sass.mjs';
1414

0 commit comments

Comments
 (0)