Skip to content

Commit 32730ce

Browse files
committed
add vp token
1 parent 38adb66 commit 32730ce

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,16 @@ jobs:
3838

3939
- name: Install dependencies
4040
run: pnpm install --frozen-lockfile
41+
env:
42+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
4143

4244
- name: Run lint
4345
run: pnpm run lint
4446

4547
- name: Check dedupe
4648
run: pnpm dedupe --check
49+
env:
50+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
4751

4852
- name: Run typecheck
4953
run: pnpm run typecheck
@@ -157,6 +161,8 @@ jobs:
157161

158162
- name: Install dependencies
159163
run: pnpm install --frozen-lockfile
164+
env:
165+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
160166

161167
- name: Run tests
162168
run: pnpm run ci --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
@@ -201,6 +207,8 @@ jobs:
201207

202208
- name: Install dependencies
203209
run: pnpm install --frozen-lockfile
210+
env:
211+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
204212

205213
- name: Run tests
206214
run: pnpm run --filter=./tools/egg-bin ci
@@ -245,6 +253,8 @@ jobs:
245253

246254
- name: Install dependencies
247255
run: pnpm install --frozen-lockfile
256+
env:
257+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
248258

249259
- name: Run tests
250260
run: pnpm run --filter=./tools/scripts ci

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979

8080
- name: Install dependencies
8181
run: pnpm install --frozen-lockfile
82+
env:
83+
VP_TOKEN: ${{ secrets.VP_TOKEN }}
8284

8385
- name: Configure Git
8486
run: |

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
21
@voidzero-dev:registry=https://npm.pkg.github.com/
2+
//npm.pkg.github.com/:_authToken=${VP_TOKEN}

0 commit comments

Comments
 (0)