Node.js Next (v27 Nightly) #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node.js Next (v27 Nightly) | |
| # Tests compatibility with the upcoming Node.js 27 nightly builds. | |
| # Runs on a schedule and can be triggered manually. | |
| # Failures here are informational only and do not block the main workflow. | |
| on: | |
| schedule: | |
| # Run every day at 04:00 UTC to catch nightly regressions early | |
| - cron: "0 4 * * *" | |
| workflow_dispatch: | |
| # Set default permissions to read-only | |
| permissions: read-all | |
| jobs: | |
| node-next: | |
| name: Build & Test (Node.js 27 nightly) | |
| runs-on: ubuntu-latest | |
| continue-on-error: true # Nightly failures are informational, not blocking | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node.js 27 nightly | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: "27-nightly" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=4096" | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Run unit tests | |
| run: npm run test | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=4096" | |
| - name: Build | |
| run: npm run build | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=4096" |