Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make sure CI is recompiling the /lib folder when we make changes #53

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Cache node dependencies
uses: actions/cache@v3
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: install node_modules
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Cache node dependencies
uses: actions/cache@v4
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Run lint
Expand Down Expand Up @@ -113,8 +113,9 @@ jobs:
- name: Cache node dependencies
uses: actions/cache@v3
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: install node_modules
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
Expand Down Expand Up @@ -159,6 +160,12 @@ jobs:
cargo install --path cli --force --locked
bolt test

- name: Generate lib
run: |
cd clients/bolt-sdk
yarn build
cd ../..

- name: Install the Bolt CLI and create & build a new project
shell: bash
run: |
Expand All @@ -172,4 +179,4 @@ jobs:
cargo update
yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version
bolt build
bolt test
bolt test
2 changes: 1 addition & 1 deletion clients/bolt-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ npm install @magicblock-labs/bolt-sdk

## Contributing

The community is encouraged to contribute to the Soar SDK.
The community is encouraged to contribute to the BOLT SDK.

Fixes and features are always welcome! Please feel free to submit a PR for review.

Expand Down
Loading