Skip to content

Commit 4e402ba

Browse files
authored
Docs and action fixes (#556)
* Remove temporary branch triggers from CI workflows * Replace verbose FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 comment with blog URL * Use pnpm/action-setup in Anchor CI instead of npm i -g pnpm * Replace collapsible details sections with plain headings in README * Reorder to Anchor, Pinocchio, Native throughout * Add missing project links to README * Update pnpm to current * Specify pnpm version in 1 place (package.json)
1 parent 0b9bae3 commit 4e402ba

7 files changed

Lines changed: 98 additions & 69 deletions

File tree

.github/workflows/anchor.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
push:
77
branches:
88
- main
9-
- anchor-1.0
10-
- fix-biome-errors
119
pull_request:
1210
types: [opened, synchronize, reopened]
1311
branches:
@@ -17,9 +15,7 @@ env:
1715
MAX_JOBS: 64
1816
MIN_PROJECTS_PER_JOB: 4
1917
MIN_PROJECTS_FOR_MATRIX: 4
20-
# Force all JavaScript-based actions to use Node.js 24 runtime.
21-
# Node.js 20 actions are deprecated and will stop working June 2026.
22-
# This catches composite actions whose internal dependencies still reference @v4.
18+
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2319
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2420

2521
jobs:
@@ -110,18 +106,18 @@ jobs:
110106
failed_projects: ${{ steps.set-failed.outputs.failed_projects }}
111107
steps:
112108
- uses: actions/checkout@v5
109+
- uses: pnpm/action-setup@v4
113110
- uses: heyAyushh/setup-anchor@v4.999
114111
with:
115112
anchor-version: 0.32.1
116113
solana-cli-version: stable
117-
- name: Display Versions and Install pnpm
114+
- name: Display Versions
118115
run: |
119116
solana -V
120117
# it's okay to use --force in github action since all programs are tested in isolation
121118
solana-keygen new --no-bip39-passphrase --force
122119
rustc -V
123120
anchor -V
124-
npm i -g pnpm
125121
- name: Build and Test
126122
env:
127123
TOTAL_PROJECTS: ${{ needs.changes.outputs.total_projects }}

.github/workflows/rust.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ on:
99
push:
1010
branches:
1111
- main
12-
- anchor-1.0
13-
- fix-biome-errors
1412
pull_request:
1513
types: [opened, synchronize, reopened]
1614
branches:
1715
- main
1816

1917
env:
20-
# Force all JavaScript-based actions to use Node.js 24 runtime.
21-
# Node.js 20 actions are deprecated and will stop working June 2026.
22-
# This catches composite actions whose internal dependencies still reference @v4.
18+
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2319
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2420

2521
# A workflow run is made up of one or more jobs, which run in parallel by default

.github/workflows/solana-native.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- main
9-
- fix-biome-errors
109
pull_request:
1110
types: [opened, synchronize, reopened]
1211
branches:
@@ -16,9 +15,7 @@ env:
1615
MAX_JOBS: 64
1716
MIN_PROJECTS_PER_JOB: 4
1817
MIN_PROJECTS_FOR_MATRIX: 4
19-
# Force all JavaScript-based actions to use Node.js 24 runtime.
20-
# Node.js 20 actions are deprecated and will stop working June 2026.
21-
# This catches composite actions whose internal dependencies still reference @v4.
18+
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2219
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2320

2421
jobs:
@@ -194,7 +191,6 @@ jobs:
194191
# Make the script executable
195192
chmod +x build_and_test.sh
196193
197-
# pnpm is already installed via pnpm/action-setup
198194
- name: Setup Solana Stable
199195
uses: heyAyushh/setup-solana@v5.9
200196
with:

.github/workflows/solana-pinocchio.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- main
9-
- fix-biome-errors
109
pull_request:
1110
types: [opened, synchronize, reopened]
1211
branches:
@@ -16,9 +15,7 @@ env:
1615
MAX_JOBS: 64
1716
MIN_PROJECTS_PER_JOB: 4
1817
MIN_PROJECTS_FOR_MATRIX: 4
19-
# Force all JavaScript-based actions to use Node.js 24 runtime.
20-
# Node.js 20 actions are deprecated and will stop working June 2026.
21-
# This catches composite actions whose internal dependencies still reference @v4.
18+
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2219
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2320

2421
jobs:
@@ -194,7 +191,6 @@ jobs:
194191
# Make the script executable
195192
chmod +x build_and_test.sh
196193
197-
# pnpm is already installed via pnpm/action-setup
198194
- name: Setup Solana Stable
199195
uses: heyAyushh/setup-solana@v5.9
200196
with:

.github/workflows/typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches:
66
- main
7-
- fix-biome-errors
87
pull_request:
98
types: [opened, synchronize, reopened]
109
branches:
1110
- main
1211

1312
env:
13+
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1414
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1515

1616
jobs:

0 commit comments

Comments
 (0)