Skip to content

Commit 539c226

Browse files
chore: remove .npmrc editing as it interferes with lerna [EXT-7081] (#2876)
* chore: remove .npmrc editing as it iterferes with lerna [EXT-7081] * chore: fix auth
1 parent 79c1b16 commit 539c226

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ jobs:
6161
git config --global user.name 'contentful-automation[bot]'
6262
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+contentful-automation[bot]@users.noreply.github.com'
6363
64-
- name: Setup npmrc for publishing
65-
run: |
66-
echo "//npm.pkg.github.com/:_authToken=${{ steps.vault.outputs.GITHUB_PACKAGES_WRITE_TOKEN }}" > .npmrc
67-
echo "@contentful:registry=https://npm.pkg.github.com" >> .npmrc
68-
6964
- name: Setup Node.js
7065
uses: actions/setup-node@v6
7166
with:

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
12
ignore-scripts=true

packages/contentful--app-scripts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"lib"
4545
],
4646
"publishConfig": {
47+
"registry": "https://npm.pkg.github.com/",
4748
"access": "public"
4849
},
4950
"dependencies": {

packages/contentful--create-contentful-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"lib"
5656
],
5757
"publishConfig": {
58+
"registry": "https://npm.pkg.github.com/",
5859
"access": "public"
5960
},
6061
"devDependencies": {

packages/contentful--react-apps-toolkit/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"typescript": "4.9.5"
4848
},
4949
"publishConfig": {
50+
"registry": "https://npm.pkg.github.com/",
5051
"access": "public"
5152
},
5253
"dependencies": {

0 commit comments

Comments
 (0)