diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index b73024e74..9f919e93f 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -16,13 +16,13 @@ For detailed information on issue and pull request statuses, process for testing ## Set up -You will need at least [Node >= 18.19.0](https://nodejs.org/en) installed on your machine. +You will need at least [Node >= 20.19.0](https://nodejs.org/en) installed on your machine. Once you have the minimum Node version installed, you can continue with the rest of the repo setup. ```shell node -v -v18.19.1 +v20.19.0 git clone https://github.com/IgniteUI/igniteui-webcomponents.git cd igniteui-webcomponents diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 46e6903d3..150592017 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -32,7 +32,7 @@ jobs: - run: npm run test - run: npm run check - name: Publish to coveralls.io - if: matrix.node-version == '18.x' + if: matrix.node-version == '20.x' uses: coverallsapp/github-action@v2 with: github-token: ${{ github.token }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8538c0ab5..1fd05fe19 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' registry-url: 'https://registry.npmjs.org' - run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV diff --git a/scripts/build.mjs b/scripts/build.mjs index cd93d29a9..2504b3e4a 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -8,7 +8,7 @@ import { getVsCodeCssCustomData, getVsCodeHtmlCustomData, } from 'custom-element-vs-code-integration'; -import customElements from '../custom-elements.json' assert { type: 'json' }; +import customElements from '../custom-elements.json' with { type: 'json' }; import report from './report.mjs'; import { buildComponents, buildThemes } from './sass.mjs';