Skip to content

Commit d2565d7

Browse files
tmmjxomgithub-advanced-security[bot]
authored
ci: reenable wagmi verify (#4052)
* ci: reenable wagmi verify * Potential fix for code scanning alert no. 29: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: jxom <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 5b7cacd commit d2565d7

File tree

3 files changed

+146
-46
lines changed

3 files changed

+146
-46
lines changed

.github/workflows/verify.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -219,37 +219,38 @@ jobs:
219219
shell: bash
220220
run: pnpm vectors
221221

222-
# wagmi:
223-
# name: Wagmi
224-
# needs: [build, types]
225-
# runs-on: ubuntu-latest
226-
# timeout-minutes: 10
227-
# strategy:
228-
# matrix:
229-
# typescript-version: ['5.7.2', '5.8.2', '5.9.2', 'latest']
230-
231-
# steps:
232-
# - name: Clone repository
233-
# uses: actions/checkout@v4
234-
# with:
235-
# submodules: 'recursive'
236-
237-
# - name: Install dependencies
238-
# uses: ./.github/actions/install-dependencies
239-
240-
# - name: Setup wagmi
241-
# uses: ./.github/actions/setup-wagmi
242-
# env:
243-
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
244-
245-
# - run: pnpm add -D -w typescript@${{ matrix.typescript-version }}
246-
# working-directory: ./wagmi
247-
248-
# - name: Check types
249-
# run: pnpm check:types
250-
# working-directory: ./wagmi
251-
252-
# - name: Check build
253-
# run: pnpm build
254-
# working-directory: ./wagmi
222+
wagmi:
223+
name: Wagmi
224+
permissions:
225+
contents: read
226+
needs: [build, types]
227+
runs-on: ubuntu-latest
228+
timeout-minutes: 10
229+
strategy:
230+
matrix:
231+
typescript-version: ['5.7.2', '5.8.2', '5.9.2', 'latest']
232+
233+
steps:
234+
- name: Clone repository
235+
uses: actions/checkout@v4
236+
with:
237+
submodules: 'recursive'
238+
239+
- name: Install dependencies
240+
uses: ./.github/actions/install-dependencies
241+
242+
- name: Setup wagmi
243+
uses: ./.github/actions/setup-wagmi
244+
env:
245+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
255246

247+
- run: pnpm add -D -w typescript@${{ matrix.typescript-version }}
248+
working-directory: ./wagmi
249+
250+
- name: Check types
251+
run: pnpm check:types
252+
working-directory: ./wagmi
253+
254+
- name: Check build
255+
run: pnpm build
256+
working-directory: ./wagmi

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@
7474
"vitest": "^3.2.4"
7575
},
7676
"packageManager": "[email protected]",
77-
"engines": {
78-
"node": ">=24.5"
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: 106 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)