Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit f4aee4a

Browse files
authored
CI: Re-add account-compression sdk to build (#7455)
* CI: Re-add account-compression sdk to build #### Problem CI is failing because the account-compression sdk was removed from the pnpm workspace, but the rest of the repo uses pnpm. #### Summary of changes Add `account-compression/sdk` back into the workspace, and fix the CI job to install the correct version of the Solana tools. * Restrict node version
1 parent 4374b7d commit f4aee4a

File tree

7 files changed

+740
-525
lines changed

7 files changed

+740
-525
lines changed

.github/workflows/pull-request-account-compression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
js-test-account-compression:
8282
runs-on: ubuntu-latest
8383
env:
84-
NODE_VERSION: 20.5
84+
NODE_VERSION: 20.X
8585
steps:
8686
- uses: actions/checkout@v4
8787
- name: Use Node.js ${{ env.NODE_VERSION }}

.github/workflows/pull-request-js.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Pull Request JS
33
on:
44
pull_request:
55
paths:
6+
- 'account-compression/sdk/**'
67
- 'libraries/type-length-value/js/**'
78
- 'memo/js/**'
89
- 'name-service/js/**'
@@ -18,6 +19,7 @@ on:
1819
push:
1920
branches: [master]
2021
paths:
22+
- 'account-compression/sdk/**'
2123
- 'libraries/type-length-value/js/**'
2224
- 'memo/js/**'
2325
- 'single-pool/js/**'
@@ -49,6 +51,8 @@ jobs:
4951
]
5052
include:
5153
# Restrict certain packages to supported Node.js versions.
54+
- package: account-compression
55+
node-version: 20.x
5256
- package: libraries
5357
node-version: 20.x
5458
- package: single-pool

account-compression/Cargo.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci/js-test-account-compression.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44
cd "$(dirname "$0")/.."
5+
export SOLANA_VERSION="v2.0.14"
56
source ./ci/solana-version.sh install
67

78
set -x

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"private": true,
33
"workspaces": [
4+
"account-compression/sdk",
45
"libraries/type-length-value/js",
56
"memo/js",
67
"single-pool/js",

0 commit comments

Comments
 (0)