Skip to content

Commit b493a70

Browse files
iropoloiropolo
andauthored
chore: NO-JIRA update npmrc config (#1046)
Co-authored-by: iropolo <ignacio.ropolo@dialpad.com>
1 parent 52b6d6c commit b493a70

File tree

3 files changed

+656
-648
lines changed

3 files changed

+656
-648
lines changed

.github/actions/setup-environment/action.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@ runs:
1212
with:
1313
node-version-file: ".nvmrc"
1414
cache: "pnpm"
15-
16-
- name: Configure GitHub Packages auth
17-
shell: bash
18-
run: |
19-
# Required because i18n & i18n-services are private. Along with .npmrc config.
20-
echo "@dialpad:registry=https://npm.pkg.github.com" >> ~/.npmrc
21-
echo "//npm.pkg.github.com/:_authToken=${{ github.token }}" >> ~/.npmrc
15+
registry-url: "https://npm.pkg.github.com"
16+
scope: "dialpad"
17+
env:
18+
NODE_AUTH_TOKEN: ${{ github.token }}
2219

2320
- name: Install dependencies
2421
shell: bash

.npmrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
publish-branch=production
22
save-prefix=""
3-
@dialpad:registry=https://npm.pkg.github.com
4-
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}

0 commit comments

Comments
 (0)