Skip to content

Commit f7d7ca1

Browse files
authored
chore: remove private npm token (#376)
1 parent 9ebc0ce commit f7d7ca1

File tree

6 files changed

+0
-20
lines changed

6 files changed

+0
-20
lines changed

.github/renovate.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["local>sanity-io/renovate-config", ":dependencyDashboardApproval"],
44
"ignorePresets": ["github>sanity-io/renovate-config:group-non-major"],
5-
"hostRules": [
6-
{
7-
"matchHost": "registry.npmjs.org",
8-
"token": "{{ secrets.SANITY_NPM_TOKEN }}"
9-
}
10-
],
115
"packageRules": [
126
{
137
"matchDepTypes": ["devDependencies"],

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
restore-keys: |
4444
${{ runner.os }}-pnpm-store-
4545
46-
- name: Configure npm authentication
47-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMRC }}" > ~/.npmrc
48-
4946
- name: Install dependencies
5047
run: pnpm install --frozen-lockfile
5148

.github/workflows/depcheck.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
restore-keys: |
4444
${{ runner.os }}-pnpm-store-
4545
46-
- name: Configure npm authentication
47-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMRC }}" > ~/.npmrc
48-
4946
- name: Install dependencies
5047
run: pnpm install --frozen-lockfile
5148

.github/workflows/lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
restore-keys: |
4444
${{ runner.os }}-pnpm-store-
4545
46-
- name: Configure npm authentication
47-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMRC }}" > ~/.npmrc
48-
4946
- name: Install dependencies
5047
run: pnpm install --frozen-lockfile
5148

.github/workflows/release-please.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
with:
4747
cache: pnpm
4848
node-version: lts/*
49-
- name: Configure npm authentication
50-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMRC }}" > ~/.npmrc
5149
- name: install deps & build
5250
run: pnpm install --ignore-scripts && pnpm build --filter=!./apps/*
5351
if: ${{ steps.release.outputs.releases_created == 'true' || github.event.inputs.publish == 'true' }}

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
restore-keys: |
4444
${{ runner.os }}-pnpm-store-
4545
46-
- name: Configure npm authentication
47-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMRC }}" > ~/.npmrc
48-
4946
- name: Install dependencies
5047
run: pnpm install --frozen-lockfile
5148

0 commit comments

Comments
 (0)