chore(node): move repo tooling to node 24

Align local version markers and GitHub Actions with Node 24, switch the default test entrypoint to the maintained Vitest runner, and replace pnpm-incompatible npm helpers in repo scripts.

This also removes the obsolete AVA plus esm path and excludes disabled test fixtures from generic Vitest discovery so CI reflects the supported test surface.
This commit is contained in:
ThatGuySam 2026-03-15 12:55:25 -05:00
parent 747e564e17
commit fcda9f0a02
9 changed files with 43 additions and 641 deletions

View file

@ -14,11 +14,18 @@ jobs:
name: Deploy
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v6
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: pnpm
- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 10.12.1
run_install: false
- name: Write Wrangler configs

View file

@ -1,9 +1,8 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Run Ava Tests
# This workflow validates the Node 24 toolchain on GitHub-hosted runners.
name: Run Node 24 Checks
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
@ -16,18 +15,24 @@ jobs:
strategy:
matrix:
node-version: [14.x, 15.x]
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 10.12.1
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: |
touch .env
echo ${{ secrets.GH_ENV }} >> .env
- run: npm ci
- run: npm run generate
- run: npm test
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test