Skip to content

Commit dc51efb

Browse files
committed
ci: install exact dependencies before security builder validation
1 parent 8b5d12d commit dc51efb

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/final-security-hardening-once.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,30 @@ on:
1010
permissions:
1111
contents: write
1212

13+
concurrency:
14+
group: final-security-hardening-builder
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build:
1519
runs-on: ubuntu-latest
16-
timeout-minutes: 10
20+
timeout-minutes: 12
1721
steps:
1822
- name: Checkout security hardening branch
1923
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2024
with:
2125
ref: chore/final-security-hardening
2226
fetch-depth: 0
2327

28+
- name: Set up Node.js
29+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
30+
with:
31+
node-version: "24"
32+
package-manager-cache: false
33+
34+
- name: Install exact dependency tree without lifecycle scripts
35+
run: npm ci --ignore-scripts --no-audit --no-fund
36+
2437
- name: Materialize reviewed hardening
2538
run: python3 scripts/build_final_security_hardening_once.py
2639

0 commit comments

Comments
 (0)