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>
36 lines
764 B
YAML
36 lines
764 B
YAML
name: Update query hashes
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '30 * * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check-and-create-pr:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Fetch query hashes
|
|
run: node utility/getQueryHashes.mjs > app/splatnet/queryHashes.json
|
|
|
|
- name: Create PR
|
|
uses: peter-evans/create-pull-request@v6
|
|
with:
|
|
title: Update query hashes
|
|
commit-message: Update query hashes
|
|
branch: update-query-hashes
|
|
body: Update query hashes
|
|
delete-branch: true
|
|
reviewers: misenhower
|