diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5f8d96..d65d1e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,8 @@ jobs: uses: actions/setup-node@v2 with: node-version: '14.x' + registry-url: 'https://registry.npmjs.org' + scope: '@medly' - name: Install dependencies run: yarn @@ -37,5 +39,5 @@ jobs: - name: Publish packages run: yarn release env: - GH_TOKEN: ${{ secrets.ADMIN_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/babel-config-react/package.json b/packages/babel-config-react/package.json index a5785c2..7047389 100644 --- a/packages/babel-config-react/package.json +++ b/packages/babel-config-react/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "index.js", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "files": [ "index.js" diff --git a/packages/babel-config/package.json b/packages/babel-config/package.json index dd9a43c..14dad65 100644 --- a/packages/babel-config/package.json +++ b/packages/babel-config/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "index.js", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "files": [ "index.js" diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json index e632cf2..c6f94ff 100644 --- a/packages/eslint-config-react/package.json +++ b/packages/eslint-config-react/package.json @@ -4,7 +4,8 @@ "sideEffects": false, "main": "index.json", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "files": [ "index.json", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index cfd8348..895a681 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -4,7 +4,8 @@ "sideEffects": false, "main": "index.json", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "files": [ "index.json", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 9f0f5d6..292380a 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "index.json", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "license": "MIT", "dependencies": { diff --git a/packages/rollup-config/package.json b/packages/rollup-config/package.json index 5f3c94c..d6c729d 100644 --- a/packages/rollup-config/package.json +++ b/packages/rollup-config/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "index.js", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "files": [ "index.js" diff --git a/packages/semantic-release-config/package.json b/packages/semantic-release-config/package.json index e08898e..dfaa3b3 100644 --- a/packages/semantic-release-config/package.json +++ b/packages/semantic-release-config/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "index.json", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "license": "MIT", "dependencies": { diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json index 7e5034a..a5bf2a1 100644 --- a/packages/typescript-config/package.json +++ b/packages/typescript-config/package.json @@ -5,7 +5,8 @@ "sideEffects": false, "main": "tsconfig.json", "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/medly" }, "license": "MIT", "dependencies": {