Skip to content

Commit a7cb8b7

Browse files
Add pnpm setup and Node.js version to workflow
1 parent 08a166c commit a7cb8b7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/sca-scan.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@master
10+
- uses: pnpm/action-setup@v2
11+
with:
12+
version: 7
13+
- name: Use Node.js 18.x
14+
uses: actions/setup-node@v3.7.0
15+
with:
16+
node-version: '18.x'
17+
cache: 'pnpm'
18+
- name: Install dependencies
19+
run: pnpm install --no-frozen-lockfile
1020
- name: Run Snyk to check for vulnerabilities
1121
uses: snyk/actions/node@master
1222
env:

0 commit comments

Comments
 (0)