diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index bf209e39..ea9a8a1f 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -11,6 +11,8 @@ permissions: jobs: acceptance: runs-on: ubuntu-latest + env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0 with: diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 4d2a1da8..e5092dda 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -6,6 +6,8 @@ on: workflow_dispatch jobs: copilot-setup-steps: runs-on: ubuntu-latest + env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} # Set the permissions to the lowest permissions possible needed for *your steps*. Copilot will be given its own token for its operations. permissions: # If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 168616df..df59f261 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,6 +11,8 @@ permissions: jobs: lint: runs-on: ubuntu-latest + env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0 with: diff --git a/.github/workflows/package-check.yml b/.github/workflows/package-check.yml index 5e86c8e4..c5b42564 100644 --- a/.github/workflows/package-check.yml +++ b/.github/workflows/package-check.yml @@ -13,6 +13,8 @@ permissions: jobs: package-check: runs-on: ubuntu-latest + env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa83e5fa..ce24beca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: contents: write id-token: write env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} ATTESTED_FILES: |- action.yml dist/index.js diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 812d7073..bc26057d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,8 @@ permissions: jobs: test: runs-on: ubuntu-latest + env: + NPM_CONFIG_REGISTRY: ${{ vars.CFS_NPM_REGISTRY || 'https://packagefeedproxy.microsoft.io/npm/' }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0 with: diff --git a/.npmrc b/.npmrc index 0171db74..1c3b2f3d 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ +registry=https://packagefeedproxy.microsoft.io/npm/ min-release-age=10