File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - v1-dependencies-{{arch}}-{{ checksum "package.json" }}
1717 - v1-dependencies-{{arch}}-
1818
19+ - run :
20+ name : Verify Socket Firewall registry is active
21+ command : |
22+ REGISTRY=$(npm config get registry)
23+ echo "npm registry: $REGISTRY"
24+ echo "$REGISTRY" | grep -q socket-firewall-registry || { echo "FAIL: npm not routed through Socket Firewall"; exit 1; }
25+
1926 - run : yarn install
2027
2128 - save_cache :
@@ -40,4 +47,6 @@ workflows:
4047
4148 test :
4249 jobs :
43- - test
50+ - test :
51+ context :
52+ - socket-firewall
Original file line number Diff line number Diff line change 1+ # Route all npm/yarn installs through the Socket Firewall registry
2+ registry = https://socket-firewall-registry.corporate.intercom.io/npm
3+ //socket-firewall-registry.corporate.intercom.io/npm/:_authToken = ${ SOCKET_NPM_TOKEN }
4+ always-auth = true
You can’t perform that action at this time.
0 commit comments