Skip to content

Commit c0b4e07

Browse files
committed
Add separate .npmrc file for CI
1 parent d46596e commit c0b4e07

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/deploy-site.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
with:
2727
node-version: 22
2828
cache: pnpm
29-
registry-url: https://npm.pkg.github.com
30-
scope: '@clipship'
29+
30+
- name: Prepare .npmrc
31+
run: mv .npmrc.ci .npmrc
3132

3233
- name: Install dependencies
3334
run: pnpm install

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
engine-strict=true
22

3-
@clipship:registry=https://npm.pkg.github.com
3+
@clipship:registry=https://npm.pkg.github.com/

.npmrc.ci

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
engine-strict=true
2+
3+
@clipship:registry=https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}

0 commit comments

Comments
 (0)