fix some errors
This commit is contained in:
8
.github/workflows/security.yml
vendored
8
.github/workflows/security.yml
vendored
@@ -26,13 +26,13 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'npm'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Run npm audit
|
||||
run: npm audit --audit-level=high
|
||||
- name: Run yarn audit
|
||||
run: yarn audit --level high
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
|
||||
Reference in New Issue
Block a user