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 build #40

Merged
merged 2 commits into from
Oct 10, 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
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Yarn Install and Build

on:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18" # Specify the Node.js version you want to use

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache yarn dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Build
run: yarn run build
4 changes: 4 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ jobs:
spellcheck:
name: Run spellcheck
uses: ./.github/workflows/spellcheck.yml

build:
name: Build
uses: ./.github/workflows/build.yml
6 changes: 4 additions & 2 deletions pages/interacting/methods.en.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ Each method has its own specific features and schema. Detailed information on ea
- **Result**: The resulting block information with transaction hashes
- **Errors**:
- `BLOCK_NOT_FOUND`: If the specified block does not exist
</details>

</details>

### `starknet_getBlockWithReceipts`

Expand All @@ -136,7 +137,8 @@ Each method has its own specific features and schema. Detailed information on ea
- **Result**: The resulting block information with transaction hashes
- **Errors**:
- `BLOCK_NOT_FOUND`: If the specified block does not exist
</details>

</details>

### `starknet_getBlockWithTxs`

Expand Down
Loading
Loading