File tree Expand file tree Collapse file tree 12 files changed +83
-8
lines changed
Expand file tree Collapse file tree 12 files changed +83
-8
lines changed Original file line number Diff line number Diff line change 8181 restore-keys : |
8282 ${{ runner.os }}-pnpm-store-
8383
84+ - name : Set @dialpad registry to GitHub packages
85+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
86+
87+ - name : Set GitHub auth token
88+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
89+
8490 - name : Install dependencies
8591 run : pnpm install --frozen-lockfile
8692
@@ -122,6 +128,12 @@ jobs:
122128 restore-keys : |
123129 ${{ runner.os }}-pnpm-store-
124130
131+ - name : Set @dialpad registry to GitHub packages
132+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
133+
134+ - name : Set GitHub auth token
135+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
136+
125137 - name : Install dependencies
126138 run : pnpm install --frozen-lockfile
127139
Original file line number Diff line number Diff line change 8282 restore-keys : |
8383 ${{ runner.os }}-pnpm-store-
8484
85+ - name : Set @dialpad registry to GitHub packages
86+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
87+
88+ - name : Set GitHub auth token
89+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
90+
8591 - name : Install dependencies
8692 run : pnpm install --frozen-lockfile
8793
Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ jobs:
109109 restore-keys : |
110110 ${{ runner.os }}-pnpm-store-
111111
112+ - name : Set @dialpad registry to GitHub packages
113+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
114+
115+ - name : Set GitHub auth token
116+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
117+
112118 - name : Install dependencies
113119 run : pnpm install --frozen-lockfile
114120
Original file line number Diff line number Diff line change 3838 restore-keys : |
3939 ${{ runner.os }}-pnpm-store-
4040
41+ - name : Set @dialpad registry to GitHub packages
42+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
43+
44+ - name : Set GitHub auth token
45+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
46+
4147 - name : Install dependencies
4248 run : pnpm install --frozen-lockfile
4349
Original file line number Diff line number Diff line change 9797 restore-keys : |
9898 ${{ runner.os }}-pnpm-store-
9999
100+ - name : Set @dialpad registry to GitHub packages
101+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
102+
103+ - name : Set GitHub auth token
104+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
105+
100106 - name : Install dependencies
101107 run : pnpm install --frozen-lockfile
102108
Original file line number Diff line number Diff line change 5353 restore-keys : |
5454 ${{ runner.os }}-pnpm-store-
5555
56+ - name : Set @dialpad registry to GitHub packages
57+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
58+
59+ - name : Set GitHub auth token
60+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
61+
5662 - name : Install dependencies
5763 run : pnpm install --frozen-lockfile
5864
Original file line number Diff line number Diff line change @@ -135,17 +135,20 @@ jobs:
135135 restore-keys : |
136136 ${{ runner.os }}-pnpm-store-
137137
138+ - name : Set @dialpad registry to GitHub packages
139+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
140+
141+ - name : Set auth tokens
142+ run : |
143+ pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
144+ pnpm config set //registry.npmjs.org/:_authToken=${{ secrets.DIALTONE_NPM_TOKEN }}
145+
138146 - name : Install dependencies
139147 run : pnpm install --frozen-lockfile
140148
141- - name : Set registry to GitHub packages
142- if : matrix.registry == 'GitHub'
143- run : pnpm config set @dialpad:registry https://npm.pkg.github.com
144-
145- - name : Set ${{ matrix.registry }} auth token
146- env :
147- AUTH_TOKEN : ${{ matrix.registry == 'GitHub' && env.GITHUB_TOKEN || secrets.DIALTONE_NPM_TOKEN }}
148- run : pnpm config set ${{ matrix.registry_url }}:_authToken=${{ env.AUTH_TOKEN }}
149+ - name : Remove GitHub registry if publishing to npm
150+ if : matrix.registry == 'npm'
151+ run : pnpm config delete @dialpad:registry
149152
150153 # Publish npm/GitHub
151154 - name : Publish ${{ matrix.package }}@${{ env.RELEASE_TAG }}
Original file line number Diff line number Diff line change 9393 restore-keys : |
9494 ${{ runner.os }}-pnpm-store-
9595
96+ - name : Set @dialpad registry to GitHub packages
97+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
98+
99+ - name : Set GitHub auth token
100+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
101+
96102 - name : Install dependencies
97103 run : pnpm install --frozen-lockfile
98104
Original file line number Diff line number Diff line change 4141 restore-keys : |
4242 ${{ runner.os }}-pnpm-store-
4343
44+ - name : Set @dialpad registry to GitHub packages
45+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
46+
47+ - name : Set GitHub auth token
48+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
49+
4450 - name : Install dependencies
4551 run : pnpm install --frozen-lockfile
4652
Original file line number Diff line number Diff line change 3737 restore-keys : |
3838 ${{ runner.os }}-pnpm-store-
3939
40+ - name : Set @dialpad registry to GitHub packages
41+ run : pnpm config set @dialpad:registry https://npm.pkg.github.com
42+
43+ - name : Set GitHub auth token
44+ run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
45+
4046 - name : Install dependencies
4147 run : pnpm install --frozen-lockfile
4248
You can’t perform that action at this time.
0 commit comments