Skip to content

Commit

Permalink
Merge pull request #6 from medly/fix-github-action
Browse files Browse the repository at this point in the history
chore: add medly scope in release github action
  • Loading branch information
gmukul01 authored May 31, 2021
2 parents 0bb7baf + ce49e3a commit 792a530
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
3 changes: 2 additions & 1 deletion packages/babel-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "index.js",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"files": [
"index.js"
Expand Down
3 changes: 2 additions & 1 deletion packages/babel-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "index.js",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"files": [
"index.js"
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"sideEffects": false,
"main": "index.json",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"files": [
"index.json",
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"sideEffects": false,
"main": "index.json",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"files": [
"index.json",
Expand Down
3 changes: 2 additions & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "index.json",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"license": "MIT",
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/rollup-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "index.js",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"files": [
"index.js"
Expand Down
3 changes: 2 additions & 1 deletion packages/semantic-release-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "index.json",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"license": "MIT",
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/typescript-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sideEffects": false,
"main": "tsconfig.json",
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/medly"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 792a530

Please sign in to comment.