Skip to content

Commit 55e8ee0

Browse files
authored
Update Node.js version and install command
Updated Node.js version and changed npm install command to npm ci.
1 parent 91f6ef2 commit 55e8ee0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/snyk-infrastructure.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@ jobs:
2323
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
2424

2525
- name: Setup Node.js
26-
# SCORECARD FIX: Pinned SHA of the official setup action
2726
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238
2827
with:
29-
node-version: '20'
28+
node-version: '22'
3029

3130
- name: Install Dependencies
32-
run: |
33-
npm install --no-package-lock
34-
npm install
31+
run: npm ci
3532
shell: bash
3633

3734
- name: Run Snyk Code (SAST)

0 commit comments

Comments
 (0)