Skip to content

Commit 129b947

Browse files
committed
ci: tweaks
1 parent a6054e1 commit 129b947

File tree

6 files changed

+107
-36
lines changed

6 files changed

+107
-36
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ runs:
1111

1212
- name: Set up pnpm
1313
uses: wevm/actions/.github/actions/pnpm@main
14+
with:
15+
node-version: 24.5

.github/workflows/changesets.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,8 @@ jobs:
2727
fetch-depth: 0
2828
submodules: 'recursive'
2929

30-
- name: Set up foundry
31-
uses: foundry-rs/foundry-toolchain@v1
32-
with:
33-
version: nightly
34-
3530
- name: Install dependencies
36-
uses: wevm/actions/.github/actions/pnpm@main
37-
with:
38-
node-version: 24.5
31+
uses: ./.github/actions/install-dependencies
3932

4033
- name: Create Version Pull Request
4134
uses: changesets/action@v1
@@ -64,15 +57,8 @@ jobs:
6457
with:
6558
submodules: 'recursive'
6659

67-
- name: Set up foundry
68-
uses: foundry-rs/foundry-toolchain@v1
69-
with:
70-
version: nightly
71-
7260
- name: Install dependencies
73-
uses: wevm/actions/.github/actions/pnpm@main
74-
with:
75-
node-version: 24.5
61+
uses: ./.github/actions/install-dependencies
7662

7763
- name: Publish to NPM
7864
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
@@ -112,15 +98,8 @@ jobs:
11298
with:
11399
submodules: 'recursive'
114100

115-
- name: Set up foundry
116-
uses: foundry-rs/foundry-toolchain@v1
117-
with:
118-
version: nightly
119-
120101
- name: Install dependencies
121-
uses: wevm/actions/.github/actions/pnpm@main
122-
with:
123-
node-version: 24.5
102+
uses: ./.github/actions/install-dependencies
124103

125104
- name: Publish to JSR
126105
run: pnpm version:update && cd src && pnpx jsr publish --allow-slow-types --allow-dirty

.github/workflows/snapshot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- name: Publish Snapshots
2424
continue-on-error: true
2525
env:
26-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2827
run: |
2928
snapshot=$(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//')

.github/workflows/verify.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,8 @@ jobs:
218218
with:
219219
submodules: 'recursive'
220220

221-
- name: Set up foundry
222-
uses: foundry-rs/foundry-toolchain@v1
223-
with:
224-
version: nightly
225-
226-
- name: Set up pnpm
227-
uses: wevm/actions/.github/actions/pnpm@main
228-
with:
229-
node-version: 24.5
221+
- name: Install dependencies
222+
uses: ./.github/actions/install-dependencies
230223

231224
- name: Setup wagmi
232225
uses: ./.github/actions/setup-wagmi

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@
7474
"vitest": "^1.0.4"
7575
},
7676
"packageManager": "[email protected]",
77-
"engines": {
78-
"node": ">=22"
77+
"devEngines": {
78+
"runtime": {
79+
"name": "node",
80+
"version": "^24.5.1",
81+
"onFail": "download"
82+
}
7983
},
8084
"simple-git-hooks": {
8185
"pre-commit": "pnpm check"

pnpm-lock.yaml

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)