Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
# Read the version from .nvmrc so CI matches engines.node (engine-strict=true in .npmrc)
node-version-file: '.nvmrc'

- name: Install dependencies
run: |
Expand Down
10 changes: 10 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Supply-chain security hardening
# Required by the BrowserStack supply-chain .npmrc audit (Enigma / SC-12282).
# See: https://browserstack.atlassian.net/wiki/spaces/ENG/pages/6091571922/Supply+Chain+Security+Enhancements+Tech+Spec

ignore-scripts=true # blocks malicious package lifecycle scripts
strict-ssl=true # enforces TLS for registry connections
save-exact=true # pins exact dependency versions
audit-level=high # fail on high+ severity advisories
engine-strict=true # refuse incompatible Node engines
legacy-peer-deps=false # preserve npm 7+ peer-dependency resolution
Loading