From ca248b042f6c6ecff91578a15123b6eb064d61ae Mon Sep 17 00:00:00 2001 From: Template Test Date: Tue, 16 Jun 2026 15:17:18 -0400 Subject: [PATCH] fix(ci): migrate GitHub Actions workflows to Node 24 --- .github/workflows/semantic-pull-request.yaml | 2 ++ .github/workflows/semantic-release.yaml | 4 +++- .github/workflows/test-template.yaml | 4 +++- template/.github/workflows/main.yaml | 5 +++-- template/.github/workflows/semantic-release.yaml | 4 +++- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/semantic-pull-request.yaml b/.github/workflows/semantic-pull-request.yaml index 83ee2da..7f173c5 100644 --- a/.github/workflows/semantic-pull-request.yaml +++ b/.github/workflows/semantic-pull-request.yaml @@ -15,6 +15,8 @@ jobs: main: name: Validate PR title runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment: dev steps: - uses: amannn/action-semantic-pull-request@v5 diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index 9280402..c2a4e30 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -12,6 +12,8 @@ permissions: jobs: semantic-release: runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment: dev steps: - name: Generate GitHub App token @@ -32,7 +34,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: "24" - name: Install Dependencies run: npm clean-install diff --git a/.github/workflows/test-template.yaml b/.github/workflows/test-template.yaml index 92c215f..64df360 100644 --- a/.github/workflows/test-template.yaml +++ b/.github/workflows/test-template.yaml @@ -10,6 +10,8 @@ on: jobs: test-template: runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment: dev steps: - name: Checkout @@ -26,7 +28,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 'lts/*' + node-version: '24' cache: 'npm' cache-dependency-path: 'template/frontend/package*.json' diff --git a/template/.github/workflows/main.yaml b/template/.github/workflows/main.yaml index a2de256..2ac3b26 100644 --- a/template/.github/workflows/main.yaml +++ b/template/.github/workflows/main.yaml @@ -5,6 +5,7 @@ on: [ push, pull_request ] env: AWS_REGION: ${{ '{{ vars.AWS_REGION }}' }} AWS_ACCOUNT_ID: ${{ '{{ vars.AWS_ACCOUNT_ID }}' }} + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: check-lint-and-formatting: @@ -19,9 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' - name: Frontend Lint & Typecheck & Test run: make check-lint-and-test-frontend {% endif %} diff --git a/template/.github/workflows/semantic-release.yaml b/template/.github/workflows/semantic-release.yaml index 7d2272e..6d77ab5 100644 --- a/template/.github/workflows/semantic-release.yaml +++ b/template/.github/workflows/semantic-release.yaml @@ -12,6 +12,8 @@ permissions: jobs: semantic-release: runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment: dev steps: - name: Checkout @@ -24,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: "24" - name: Install Dependencies run: npm install semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/commit-analyzer conventional-changelog-conventionalcommits