Skip to content

Update dependencies #78

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

Merged
merged 1 commit into from
Apr 15, 2025
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
13 changes: 9 additions & 4 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: false
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Bundle
run: |
yarn bundle
yarn format-bundle
pnpm bundle
pnpm format-bundle
git config user.name modules-registry-bot
git config user.email [email protected]
git add .
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,24 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: false
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Check Format
run: yarn prettier . --check
run: pnpm prettier . --check
- name: Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test
command: pnpm test
test-branch:
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
env:
Expand All @@ -58,16 +63,21 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: false
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Check Format
run: yarn prettier . --check
run: pnpm prettier . --check
- name: Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test
command: pnpm test
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"license": "MIT",
"type": "module",
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules yarn exec jest -- -i",
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest test.ts -i",
"bundle": "tsx ./publish.ts",
"format-all": "prettier --write .",
"format-bundle": "prettier --write modules.json"
},
"devDependencies": {
"@hatsprotocol/modules-sdk": "1.0.0",
"@hatsprotocol/modules-sdk": "1.5.0",
"@types/jest": "^29.5.4",
"@viem/anvil": "0.0.5",
"@viem/anvil": "0.0.10",
"async-sema": "^3.1.1",
"axios": "^1.6.1",
"dotenv": "^16.3.1",
Expand All @@ -24,7 +24,7 @@
"tslib": "^2.6.2",
"tsx": "^4.7.0",
"typescript": "^5.1.6",
"viem": "1.16.5",
"viem": "2.26.3",
"zod": "^3.22.4"
}
}
Loading