doesitarm/.github/workflows/run-ava-tests.js.yml
ThatGuySam 2f667357af fix(ci): run netlify build in node 24 check
The generic
> doesitarm@1.0.0 test /Users/athena/Code/doesitarm
> vitest run

Running Astro Config File

 RUN  v4.1.0 /Users/athena/Code/doesitarm

 Test Files  7 passed (7)
      Tests  20 passed | 3 todo (23)
   Start at  13:00:20
   Duration  1.76s (transform 317ms, setup 138ms, import 1.23s, tests 2.55s, environment 2ms) entrypoint assumes artifacts that only exist after the repo's full Netlify-style build. Run the real end-to-end Netlify build in GitHub Actions instead so the hosted Node 24 check matches the supported build surface.
2026-03-15 13:00:21 -05:00

37 lines
893 B
YAML

# This workflow validates the Node 24 toolchain on GitHub-hosted runners.
name: Run Node 24 Checks
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
PUBLIC_URL: https://doesitarm.com
PUBLIC_API_DOMAIN: https://api.doesitarm.com
strategy:
matrix:
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- 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@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm netlify-build