Skip to content

Commit

Permalink
fix(ci): use npmrc to provide desired registry
Browse files Browse the repository at this point in the history
Co-Authored-By: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>
  • Loading branch information
Isokaeder and FlorianWendelborn committed May 14, 2024
1 parent 7acaadf commit 60d5532
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
# make extra sure this publish wouldn’t break anything
- run: yarn run build check test

- run: cp internals/scripts/source/npmrc-template /home/runner/work/_temp/.npmrc

- name: publish
run: bun internals/scripts/source/publish.ts
env:
Expand Down
1 change: 1 addition & 0 deletions internals/scripts/source/npmrc-template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@
"useTabs": true
},
"private": true,
"repository": "git@github.com:3YOURMIND/kotti",
"repository": {
"type": "git",
"url": "git+https://github.com/3YOURMIND/kotti.git"
},
"scripts": {
"build": "turbo run build",
"check": "turbo run check",
Expand Down
5 changes: 4 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
"peerDependencies": {
"eslint": ">= 9"
},
"repository": "git+https://github.com/3YOURMIND/kotti.git",
"repository": {
"type": "git",
"url": "git+https://github.com/3YOURMIND/kotti.git"
},
"scripts": {
"build": "./scripts/build.sh",
"check:eslint": "eslint --max-warnings=0 .",
Expand Down
5 changes: 4 additions & 1 deletion packages/yoco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
"main": "./dist/cjs/index.cjs",
"module": "./dist/mjs/index.js",
"name": "@3yourmind/yoco",
"repository": "git+https://github.com/3YOURMIND/kotti.git",
"repository": {
"type": "git",
"url": "git+https://github.com/3YOURMIND/kotti.git"
},
"scripts": {
"build": "./scripts/build.sh",
"check:eslint": "eslint --max-warnings=0 .",
Expand Down

0 comments on commit 60d5532

Please sign in to comment.