Skip to content

Commit 4e4da61

Browse files
committed
ci: run github actions on node 24
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 3bed6d8 commit 4e4da61

8 files changed

Lines changed: 58 additions & 39 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
# - "src/**/*.js"
1111
# - "src/**/*.jsx"
1212

13+
env:
14+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
15+
1316
jobs:
1417
claude-review:
1518
# Only run for organization members and collaborators
@@ -27,7 +30,7 @@ jobs:
2730

2831
steps:
2932
- name: Checkout repository
30-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3134
with:
3235
fetch-depth: 1
3336

.github/workflows/claude-issue-triage.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
issues:
55
types: [opened]
66

7+
env:
8+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
9+
710
jobs:
811
triage:
912
runs-on: ubuntu-latest
@@ -12,7 +15,7 @@ jobs:
1215
id-token: write
1316
steps:
1417
- name: Checkout repository
15-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1619
with:
1720
fetch-depth: 1
1821

@@ -68,4 +71,4 @@ jobs:
6871
6972
Read the issue carefully and provide helpful triage with appropriate labels.
7073
71-
claude_args: '--allowed-tools "Bash(gh issue:*),Bash(gh search:*),Read"'
74+
claude_args: '--allowed-tools "Bash(gh issue:*),Bash(gh search:*),Read"'

.github/workflows/claude.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
pull_request_target:
1313
types: [opened, synchronize]
1414

15+
env:
16+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
17+
1518
jobs:
1619
claude:
1720
if: |
@@ -41,7 +44,7 @@ jobs:
4144
actions: read # Required for Claude to read CI results on PRs
4245
steps:
4346
- name: Checkout repository
44-
uses: actions/checkout@v4
47+
uses: actions/checkout@v6
4548
with:
4649
# For pull_request_target, checkout the PR head to review the actual changes
4750
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
@@ -65,4 +68,3 @@ jobs:
6568
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
6669
# or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options
6770
# claude_args: '--model claude-opus-4-1-20250805 --allowed-tools Bash(gh pr:*)'
68-

.github/workflows/dev-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
workflow_dispatch: # Allow manual triggering
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
10+
811
jobs:
912
dev-release:
1013
runs-on: ubuntu-latest
@@ -13,12 +16,12 @@ jobs:
1316
contents: write
1417

1518
steps:
16-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
1720
with:
1821
fetch-depth: 0
1922

2023
- name: Set up Python
21-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2225
with:
2326
python-version: "3.12"
2427

@@ -50,4 +53,4 @@ jobs:
5053
uses: pypa/gh-action-pypi-publish@release/v1
5154
with:
5255
password: ${{ secrets.PYPI_TOKEN }}
53-
skip-existing: true # Don't fail if version already exists
56+
skip-existing: true # Don't fail if version already exists

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
env:
1010
REGISTRY: ghcr.io
1111
IMAGE_NAME: basicmachines-co/basic-memory
12+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
1213

1314
jobs:
1415
docker:
@@ -19,25 +20,25 @@ jobs:
1920

2021
steps:
2122
- name: Checkout repository
22-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2324
with:
2425
fetch-depth: 0
2526

2627
- name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v3
28+
uses: docker/setup-buildx-action@v4
2829
with:
2930
platforms: linux/amd64,linux/arm64
3031

3132
- name: Log in to GitHub Container Registry
32-
uses: docker/login-action@v3
33+
uses: docker/login-action@v4
3334
with:
3435
registry: ${{ env.REGISTRY }}
3536
username: ${{ github.actor }}
3637
password: ${{ secrets.GITHUB_TOKEN }}
3738

3839
- name: Extract metadata
3940
id: meta
40-
uses: docker/metadata-action@v5
41+
uses: docker/metadata-action@v6
4142
with:
4243
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4344
tags: |
@@ -48,7 +49,7 @@ jobs:
4849
type=raw,value=latest,enable={{is_default_branch}}
4950
5051
- name: Build and push Docker image
51-
uses: docker/build-push-action@v5
52+
uses: docker/build-push-action@v7
5253
with:
5354
context: .
5455
file: ./Dockerfile
@@ -58,4 +59,3 @@ jobs:
5859
labels: ${{ steps.meta.outputs.labels }}
5960
cache-from: type=gha
6061
cache-to: type=gha,mode=max
61-

.github/workflows/pr-title.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ on:
77
- edited
88
- synchronize
99

10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
12+
1013
jobs:
1114
main:
1215
runs-on: ubuntu-latest
1316
steps:
14-
- uses: amannn/action-semantic-pull-request@v5
17+
- uses: amannn/action-semantic-pull-request@v6
1518
env:
1619
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1720
with:
@@ -38,4 +41,4 @@ jobs:
3841
deps
3942
installer
4043
# Allow breaking changes (needs "!" after type/scope)
41-
requireScopeForBreakingChange: true
44+
requireScopeForBreakingChange: true

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*' # Trigger on version tags like v1.0.0, v0.13.0, etc.
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
10+
811
jobs:
912
release:
1013
runs-on: ubuntu-latest
@@ -13,12 +16,12 @@ jobs:
1316
contents: write
1417

1518
steps:
16-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
1720
with:
1821
fetch-depth: 0
1922

2023
- name: Set up Python
21-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2225
with:
2326
python-version: "3.12"
2427

@@ -39,7 +42,7 @@ jobs:
3942
echo "Build completed successfully"
4043
4144
- name: Create GitHub Release
42-
uses: softprops/action-gh-release@v2
45+
uses: softprops/action-gh-release@v3
4346
with:
4447
files: |
4548
dist/*.whl
@@ -64,7 +67,7 @@ jobs:
6467
actions: read
6568
steps:
6669
- name: Update Homebrew formula
67-
uses: mislav/bump-homebrew-formula-action@v3
70+
uses: mislav/bump-homebrew-formula-action@v4.1
6871
with:
6972
# Formula name in homebrew-basic-memory repo
7073
formula-name: basic-memory
@@ -82,4 +85,3 @@ jobs:
8285
env:
8386
# Personal Access Token with repo scope for homebrew-basic-memory repo
8487
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}
85-

.github/workflows/test.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@ on:
1111
# Outcome: each branch push runs the test suite once, including PR updates.
1212
push:
1313

14+
env:
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
16+
1417
jobs:
1518
static-checks:
1619
name: Static Checks (Python 3.12)
1720
timeout-minutes: 20
1821
runs-on: ubuntu-latest
1922

2023
steps:
21-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2225
with:
2326
submodules: true
2427

2528
- name: Set up Python 3.12
26-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v6
2730
with:
2831
python-version: "3.12"
2932
cache: "pip"
@@ -32,7 +35,7 @@ jobs:
3235
run: |
3336
pip install uv
3437
35-
- uses: extractions/setup-just@v3
38+
- uses: extractions/setup-just@v4
3639

3740
- name: Create virtual env
3841
run: |
@@ -68,12 +71,12 @@ jobs:
6871
runs-on: ${{ matrix.os }}
6972

7073
steps:
71-
- uses: actions/checkout@v4
74+
- uses: actions/checkout@v6
7275
with:
7376
submodules: true
7477

7578
- name: Set up Python ${{ matrix.python-version }}
76-
uses: actions/setup-python@v4
79+
uses: actions/setup-python@v6
7780
with:
7881
python-version: ${{ matrix.python-version }}
7982
cache: 'pip'
@@ -82,7 +85,7 @@ jobs:
8285
run: |
8386
pip install uv
8487
85-
- uses: extractions/setup-just@v3
88+
- uses: extractions/setup-just@v4
8689

8790
- name: Create virtual env
8891
run: |
@@ -114,12 +117,12 @@ jobs:
114117
runs-on: ${{ matrix.os }}
115118

116119
steps:
117-
- uses: actions/checkout@v4
120+
- uses: actions/checkout@v6
118121
with:
119122
submodules: true
120123

121124
- name: Set up Python ${{ matrix.python-version }}
122-
uses: actions/setup-python@v4
125+
uses: actions/setup-python@v6
123126
with:
124127
python-version: ${{ matrix.python-version }}
125128
cache: 'pip'
@@ -128,7 +131,7 @@ jobs:
128131
run: |
129132
pip install uv
130133
131-
- uses: extractions/setup-just@v3
134+
- uses: extractions/setup-just@v4
132135

133136
- name: Create virtual env
134137
run: |
@@ -171,12 +174,12 @@ jobs:
171174
BASIC_MEMORY_TEST_POSTGRES_URL: postgresql://basic_memory_user:dev_password@127.0.0.1:5432/basic_memory_test
172175

173176
steps:
174-
- uses: actions/checkout@v4
177+
- uses: actions/checkout@v6
175178
with:
176179
submodules: true
177180

178181
- name: Set up Python ${{ matrix.python-version }}
179-
uses: actions/setup-python@v4
182+
uses: actions/setup-python@v6
180183
with:
181184
python-version: ${{ matrix.python-version }}
182185
cache: 'pip'
@@ -185,7 +188,7 @@ jobs:
185188
run: |
186189
pip install uv
187190
188-
- uses: extractions/setup-just@v3
191+
- uses: extractions/setup-just@v4
189192

190193
- name: Create virtual env
191194
run: |
@@ -228,12 +231,12 @@ jobs:
228231
BASIC_MEMORY_TEST_POSTGRES_URL: postgresql://basic_memory_user:dev_password@127.0.0.1:5432/basic_memory_test
229232

230233
steps:
231-
- uses: actions/checkout@v4
234+
- uses: actions/checkout@v6
232235
with:
233236
submodules: true
234237

235238
- name: Set up Python ${{ matrix.python-version }}
236-
uses: actions/setup-python@v4
239+
uses: actions/setup-python@v6
237240
with:
238241
python-version: ${{ matrix.python-version }}
239242
cache: 'pip'
@@ -242,7 +245,7 @@ jobs:
242245
run: |
243246
pip install uv
244247
245-
- uses: extractions/setup-just@v3
248+
- uses: extractions/setup-just@v4
246249

247250
- name: Create virtual env
248251
run: |
@@ -262,12 +265,12 @@ jobs:
262265
runs-on: ubuntu-latest
263266

264267
steps:
265-
- uses: actions/checkout@v4
268+
- uses: actions/checkout@v6
266269
with:
267270
submodules: true
268271

269272
- name: Set up Python 3.12
270-
uses: actions/setup-python@v4
273+
uses: actions/setup-python@v6
271274
with:
272275
python-version: "3.12"
273276
cache: "pip"
@@ -276,7 +279,7 @@ jobs:
276279
run: |
277280
pip install uv
278281
279-
- uses: extractions/setup-just@v3
282+
- uses: extractions/setup-just@v4
280283

281284
- name: Create virtual env
282285
run: |

0 commit comments

Comments
 (0)