Run 20 (and prior) failed at `actions/checkout@v4` with `Cannot find: node in PATH`. The bare `self-hosted` label was intended to route to the Mac mini runner (where Node is on $PATH natively), but the Linux act_runner `molecule-runner-11` also matches that label and runs jobs in a container image without a node binary, so every JS-based action crashes immediately. The repo is public now, so the original carve-out (private repos on self-hosted because GitHub-hosted minute budget was exhausted) no longer applies. ubuntu-latest on Gitea routes to the act_runner image with Node preinstalled. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 lines
311 B
YAML
18 lines
311 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: npm
|
|
- run: npm ci
|
|
- run: npm run build
|