Update our build workflows to use NodeJS 22 (#1285)

NodeJS 20 is almost EOL so I'm updating our workflows to use NodeJS 22.
This does not change anything about our app, which will still use NodeJS
20 until Electron shifts away from it. NodeJS 22 is fully
backwards-compatible with NodeJS 20 so there's no issue from a testing
standpoint.
This commit is contained in:
Evan Simkowitz 2024-11-13 21:06:48 -08:00 committed by GitHub
parent f4439ebc6c
commit e5f98c6475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ on:
workflow_dispatch:
env:
GO_VERSION: "1.22"
NODE_VERSION: "20"
NODE_VERSION: 22
STATIC_DOCSITE_PATH: docsite
jobs:
build-docsite:

View File

@ -23,7 +23,7 @@ on:
type: boolean
default: true
env:
NODE_VERSION: "20"
NODE_VERSION: 22
jobs:
bump-version:
runs-on: ubuntu-latest

View File

@ -20,7 +20,7 @@ on:
- cron: "36 5 * * 5"
env:
NODE_VERSION: "20"
NODE_VERSION: 22
GO_VERSION: "1.22.5"
jobs:

View File

@ -3,7 +3,7 @@ name: Docsite and Storybook CI/CD
run-name: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'Build and Deploy' || 'Test Build' }} Docsite and Storybook
env:
NODE_VERSION: 20
NODE_VERSION: 22
on:
push:

View File

@ -24,7 +24,7 @@ on:
env:
GO_VERSION: "1.22"
NODE_VERSION: "20"
NODE_VERSION: 22
permissions:
contents: read # To allow the action to read repository contents

View File

@ -68,7 +68,7 @@ Download and install Go via your package manager or directly from the website: h
### NodeJS
Make sure you have a NodeJS 20 LTS installed.
Make sure you have a NodeJS 22 LTS installed.
See NodeJS's website for platform-specific instructions: https://nodejs.org/en/download