diff --git a/.github/workflows/build-sb.yml b/.github/workflows/build-sb.yml index 399b03815a..9fba7ef1bd 100644 --- a/.github/workflows/build-sb.yml +++ b/.github/workflows/build-sb.yml @@ -5,8 +5,6 @@ name: Build Samples Browser # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - push: - branches: [ master, vnext ] pull_request: branches: [ master, vnext ] @@ -16,20 +14,16 @@ jobs: # The type of runner that the job will run on runs-on: windows-latest - strategy: - matrix: - node-version: [22.x] - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: cache-dependency-path: browser/package-lock.json - node-version: ${{ matrix.node-version }} + node-version: '24.x' cache: 'npm' - name: Install dependencies @@ -39,5 +33,4 @@ jobs: - name: Build the samples browser to ensure it compiles run: cd browser && npm run build env: - NODE_OPTIONS: "--max_old_space_size=4096" - CI: false + CI: false \ No newline at end of file diff --git a/.github/workflows/igniteui-react-examples-cd.yml b/.github/workflows/igniteui-react-examples-cd.yml index 2d30f222ce..c1e10e8962 100644 --- a/.github/workflows/igniteui-react-examples-cd.yml +++ b/.github/workflows/igniteui-react-examples-cd.yml @@ -26,15 +26,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ env.BRANCH_REF }} token: ${{ secrets.GITHUB_TOKEN }} - name: Install Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '22.x' + node-version: '24.x' cache: 'npm' cache-dependency-path: browser/package-lock.json @@ -99,7 +99,7 @@ jobs: zip -r ${{ github.workspace }}/react-demos.zip ./ - name: Publish pipeline artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: react-demos-artifact path: react-demos.zip