Skip to content

Commit f45bfb5

Browse files
Use Node 22 for contracts dependency checks
1 parent 324306f commit f45bfb5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/contracts-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v6
4040
with:
41-
node-version: "20"
41+
node-version: "22"
4242
- name: Install dependencies
4343
run: npm ci --no-fund --no-audit
4444
- name: Run npm audit
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@v4
6565
- uses: actions/setup-node@v6
6666
with:
67-
node-version: "20"
67+
node-version: "22"
6868
- name: Install dependencies
6969
run: npm ci --no-fund --no-audit
7070
- uses: foundry-rs/foundry-toolchain@v1
@@ -90,7 +90,7 @@ jobs:
9090
- uses: actions/checkout@v4
9191
- uses: actions/setup-node@v6
9292
with:
93-
node-version: "20"
93+
node-version: "22"
9494
- name: Install dependencies
9595
run: npm ci --no-fund --no-audit
9696
- uses: foundry-rs/foundry-toolchain@v1

.github/workflows/contracts-size-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: actions/setup-node@v6
3232
with:
33-
node-version: "20"
33+
node-version: "22"
3434
cache: "npm"
3535
cache-dependency-path: contracts/package-lock.json
3636

.github/workflows/security-scans.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
- uses: actions/setup-node@v6
2929
with:
30-
node-version: "20"
30+
node-version: "22"
3131
- name: Install contract dependencies
3232
run: npm install --no-fund --no-audit
3333
- name: Slither scan
@@ -75,7 +75,7 @@ jobs:
7575
7676
- uses: actions/setup-node@v6
7777
with:
78-
node-version: "20"
78+
node-version: "22"
7979
- name: NPM dependency audit (contracts)
8080
continue-on-error: ${{ env.STRICT_SECURITY_GATES != 'true' }}
8181
working-directory: contracts

0 commit comments

Comments
 (0)