|
51 | 51 | with:
|
52 | 52 | node-version: 20
|
53 | 53 | 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 |
54 | 58 | - name: Install
|
55 | 59 | uses: dtolnay/rust-toolchain@stable
|
56 | 60 | if: ${{ !matrix.settings.docker }}
|
|
79 | 83 | if: matrix.settings.target == 'i686-pc-windows-msvc'
|
80 | 84 | run: yarn config set supportedArchitectures.cpu "ia32"
|
81 | 85 | 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 |
82 | 90 | - name: Install dependencies
|
83 | 91 | run: yarn install
|
84 | 92 | env:
|
@@ -129,6 +137,10 @@ jobs:
|
129 | 137 | - uses: actions/checkout@v4
|
130 | 138 | - name: Enable Corepack
|
131 | 139 | 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 |
132 | 144 | - name: Setup node
|
133 | 145 | uses: actions/setup-node@v4
|
134 | 146 | with:
|
@@ -169,6 +181,10 @@ jobs:
|
169 | 181 | with:
|
170 | 182 | node-version: ${{ matrix.node }}
|
171 | 183 | 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 |
172 | 188 | - name: Install dependencies
|
173 | 189 | run: yarn install
|
174 | 190 | env:
|
@@ -203,6 +219,10 @@ jobs:
|
203 | 219 | with:
|
204 | 220 | node-version: ${{ matrix.node }}
|
205 | 221 | 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 |
206 | 226 | - name: Install dependencies
|
207 | 227 | run: yarn install
|
208 | 228 | env:
|
@@ -239,6 +259,10 @@ jobs:
|
239 | 259 | registry-url: 'https://npm.pkg.github.com'
|
240 | 260 | scope: '@mineskin'
|
241 | 261 | 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 |
242 | 266 | - name: Install dependencies
|
243 | 267 | run: yarn install
|
244 | 268 | env:
|
|
0 commit comments