Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# Version pinned for reproducibility (this runs at release time, so avoid a surprise major bump).
# Note: --allow-scripts=snyk (npm 12 blocks install scripts by default) because snyk's postinstall
# bootstraps its CLI binary; without it the binary is lazily downloaded on first run instead.
# Note: --ignore-scripts satisfies Sonar and npm 12 script blocking; snyk then lazily downloads
# its CLI binary on first run instead of in a postinstall (verified working).
run: |
npm install -g npm@12.0.2
npm install -g --allow-scripts=snyk snyk@1.1306.1
npm install -g --ignore-scripts npm@12.0.2
npm install -g --ignore-scripts snyk@1.1306.1
snyk test --org=${{ vars.SNYK_ORG_ID }} --severity-threshold=high --project-name=${{ github.repository }} --target-reference=${{ github.ref_name }}

- name: Download e2e coverage files
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:

# this commit will effectively cause another run of the workflow which then actually performs the helm chart release
- run: |
npm install -g npm@12.0.2
npm install -g --ignore-scripts npm@12.0.2
npm install --ignore-scripts -g semver@7.8.1
make chart-bump-version APP_VERSION="${{ needs.build-images.outputs.version }}"
git config user.name "$GITHUB_ACTOR"
Expand Down
Loading