mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
chore: update snyk scan from node 20 to node 22 (#32047)
This commit is contained in:
5
.github/workflows/snyk_sca_scan.yaml
vendored
5
.github/workflows/snyk_sca_scan.yaml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- release/*
|
||||
jobs:
|
||||
Snyk_SCA_Scan:
|
||||
# Skip this job on PRs from forks
|
||||
@@ -18,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
node-version: [22.x]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -28,7 +29,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'yarn'
|
||||
- name: Run yarn
|
||||
run: yarn
|
||||
|
||||
@@ -7,6 +7,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- release/*
|
||||
jobs:
|
||||
Snyk_SAST_Scan:
|
||||
# Skip this job on PRs from forks
|
||||
@@ -21,7 +22,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'yarn'
|
||||
- name: Run yarn
|
||||
run: yarn
|
||||
|
||||
Reference in New Issue
Block a user