mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-22 02:04:18 -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>
26 lines
454 B
YAML
26 lines
454 B
YAML
name: Fix code styles
|
|
|
|
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: 22
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run lint-fix
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: Fix styling
|