Skip to content

Commit

Permalink
Update publish CI + Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
edisonz0718 committed May 8, 2024
1 parent b883955 commit 37ed055
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,30 @@ jobs:
cache: pnpm
registry-url: https://registry.npmjs.org/

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install dependencies
run: pnpm install

- name: Fix
run: pnpm fix

- name: Build
run: pnpm build
- name: Run Anvil
id: run_anvil
run: anvil --fork-url ${SEPOLIA_RPC_PROVIDER_URL} --block-time 1 --silent &

- name: Check on Run Anvil
if: steps.run_anvil.outcome != 'success'
run: exit 1

- name: Test
run: pnpm test

- name: Build
run: pnpm build

- name: Publish to npm
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/core-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@story-protocol/core-sdk",
"version": "1.0.0-rc.8",
"version": "1.0.0-rc.10",
"description": "Story Protocol Core SDK",
"main": "dist/story-protocol-core-sdk.cjs.js",
"module": "dist/story-protocol-core-sdk.esm.js",
Expand Down

0 comments on commit 37ed055

Please sign in to comment.