diff --git a/.github/workflows/lint-build.yml b/.github/workflows/lint-build.yml index 4f76f7a..02e0f0a 100644 --- a/.github/workflows/lint-build.yml +++ b/.github/workflows/lint-build.yml @@ -31,7 +31,7 @@ jobs: cache: 'npm' cache-dependency-path: '**/package-lock.json' - # [24/AUG/23] Adjusted from npm ci to prevent EBADPLATFORM error due to fsevents + # Adjusted from npm ci to prevent EBADPLATFORM error due to fsevents - name: Install npm run: npm i @@ -44,8 +44,8 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - node-version: [22.x, 24.x] + # Testing current LTS (24.x) and current Stable (26.x). Node 22 hit End-of-Life in April 2026. + node-version: [24.x, 26.x] include: - os: ubuntu-latest hugo_cachedir: '/tmp/hugo_cache_runner' @@ -98,8 +98,8 @@ jobs: fi shell: bash - # [24/AUG/23] Adjusted from npm ci for non-macOS to prevent EBADPLATFORM error due to fsevents - - name: Perform clean install of npm + # Adjusted to npm i for all OS to prevent EUSAGE/EBADPLATFORM errors on modern runners + - name: Install npm dependencies run: npm i # On Windows, HUGO_CACHEDIR is initialised from the matrix as '~\AppData\Local\hugo_cache'. @@ -124,4 +124,4 @@ jobs: run: npm run env - name: Build main site - run: npm run build:cache \ No newline at end of file + run: npm run build:cache