Skip to content

Commit 3718d74

Browse files
try that
1 parent 551c109 commit 3718d74

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/CI.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
with:
5252
node-version: 20
5353
cache: yarn
54+
- name: npmrcgen
55+
run: |
56+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
57+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
5458
- name: Install
5559
uses: dtolnay/rust-toolchain@stable
5660
if: ${{ !matrix.settings.docker }}
@@ -79,6 +83,10 @@ jobs:
7983
if: matrix.settings.target == 'i686-pc-windows-msvc'
8084
run: yarn config set supportedArchitectures.cpu "ia32"
8185
shell: bash
86+
- name: npmrcgen
87+
run: |
88+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
89+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
8290
- name: Install dependencies
8391
run: yarn install
8492
env:
@@ -129,6 +137,10 @@ jobs:
129137
- uses: actions/checkout@v4
130138
- name: Enable Corepack
131139
run: corepack enable
140+
- name: npmrcgen
141+
run: |
142+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
143+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
132144
- name: Setup node
133145
uses: actions/setup-node@v4
134146
with:
@@ -169,6 +181,10 @@ jobs:
169181
with:
170182
node-version: ${{ matrix.node }}
171183
cache: yarn
184+
- name: npmrcgen
185+
run: |
186+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
187+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
172188
- name: Install dependencies
173189
run: yarn install
174190
env:
@@ -203,6 +219,10 @@ jobs:
203219
with:
204220
node-version: ${{ matrix.node }}
205221
cache: yarn
222+
- name: npmrcgen
223+
run: |
224+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
225+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
206226
- name: Install dependencies
207227
run: yarn install
208228
env:
@@ -239,6 +259,10 @@ jobs:
239259
registry-url: 'https://npm.pkg.github.com'
240260
scope: '@mineskin'
241261
cache: yarn
262+
- name: npmrcgen
263+
run: |
264+
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > .npmrc
265+
echo "@mineskin=https://npm.pkg.github.com/" >> .npmrc
242266
- name: Install dependencies
243267
run: yarn install
244268
env:

0 commit comments

Comments
 (0)