From f89b7d916d3fdca09aaa515cd4a16b34e813a9b4 Mon Sep 17 00:00:00 2001 From: Micheal Looney Date: Tue, 10 Nov 2026 13:35:00 +0000 Subject: [PATCH] Read Socket Firewall credentials from the shared CI context Co-Authored-By: Claude Opus 5.5 --- .circleci/config.yml | 14 +++++++++----- .npmrc | 1 - 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a3e431a8..5516d92d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,7 @@ -version: 2 +version: 2.1 + +orbs: + dev-secrets: intercom/dev-secrets@1 defaults: &defaults working_directory: ~/repo @@ -10,11 +13,12 @@ jobs: <<: *defaults steps: - checkout + - dev-secrets/setup - restore_cache: keys: - - v2-pnpm-{{arch}}-{{ checksum "pnpm-lock.yaml" }} - - v2-pnpm-{{arch}}- + - v3-pnpm-{{arch}}-{{ checksum "pnpm-lock.yaml" }} + - v3-pnpm-{{arch}}- - run: name: Install pnpm via corepack @@ -33,7 +37,7 @@ jobs: - run: pnpm install --frozen-lockfile - save_cache: - key: v2-pnpm-{{arch}}-{{ checksum "pnpm-lock.yaml" }} + key: v3-pnpm-{{arch}}-{{ checksum "pnpm-lock.yaml" }} paths: - node_modules - ~/.local/share/pnpm/store @@ -62,4 +66,4 @@ workflows: jobs: - test: context: - - socket-firewall + - muster-dev-secrets diff --git a/.npmrc b/.npmrc index 4e205ba5..9d01872d 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,3 @@ # Route all npm/yarn installs through the Socket Firewall registry registry=https://socket-firewall-registry.corporate.intercom.io/npm -//socket-firewall-registry.corporate.intercom.io/npm/:_authToken=${SOCKET_NPM_TOKEN} always-auth=true