fix(ci): repair github node 24 workflows

Install pnpm before enabling setup-node's pnpm cache in the Cloudflare deploy job, and make the Node 24 check workflow self-contained by providing the public build URLs directly.

These fixes address the first GitHub-hosted failures that surfaced after the Node 24 migration push without changing the application runtime.
This commit is contained in:
ThatGuySam 2026-03-15 12:58:18 -05:00
parent fcda9f0a02
commit edcc260faa
2 changed files with 9 additions and 9 deletions

View file

@ -16,18 +16,18 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: pnpm
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
with: with:
version: 10.12.1 version: 10.12.1
run_install: false run_install: false
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: pnpm
- name: Write Wrangler configs - name: Write Wrangler configs
run: | run: |
echo ${{ secrets.WRANGLER_ENV }} | base64 -d > doesitarm-default/.env echo ${{ secrets.WRANGLER_ENV }} | base64 -d > doesitarm-default/.env

View file

@ -12,6 +12,9 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PUBLIC_URL: https://doesitarm.com
PUBLIC_API_DOMAIN: https://api.doesitarm.com
strategy: strategy:
matrix: matrix:
@ -30,9 +33,6 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: pnpm cache: pnpm
- run: |
touch .env
echo ${{ secrets.GH_ENV }} >> .env
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm build - run: pnpm build
- run: pnpm test - run: pnpm test