|
@@ -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
|
|
@@ -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
|
|
@@ -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"
|
|
@@ -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: |
|
|
@@ -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
|