mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Node 20 LTS reaches end-of-life April 2026. Updated all references: - Dockerfile base image to node:22 - All GitHub Actions workflows to Node 22 - Bumped actions/checkout and actions/setup-node to v4 where outdated - Added .nvmrc file for local development Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
546 B
YAML
28 lines
546 B
YAML
name: Build frontend
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [22.x]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run build
|