Skip to content

Commit 4ec9310

Browse files
committed
cicd: add monorepo publish script
Signed-off-by: Alexandre Ferreira <alexjorgef@protonmail.com>
1 parent 087496d commit 4ec9310

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
- name: Install Dependencies
3737
run: yarn --immutable
3838
- name: Publish Package
39-
run: yarn npm publish --access public
39+
run: yarn package:publish
4040
env:
4141
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"license": "MIT",
66
"dependencies": {
7-
"@alexjorgef/gatsby-source-mixcloud": "^0.0.2",
7+
"@alexjorgef/gatsby-source-mixcloud": "^0.0.3",
88
"gatsby": "^5.12.1",
99
"gatsby-adapter-netlify": "^1.0.0",
1010
"react": "^18.2.0",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"develop": "yarn workspace demo develop",
4141
"build": "yarn workspace demo build",
4242
"serve": "yarn workspace demo serve",
43+
"package:publish": "yarn workspace @alexjorgef/gatsby-source-mixcloud npm publish --access public",
4344
"package:watch": "yarn workspace @alexjorgef/gatsby-source-mixcloud watch",
4445
"package:build": "yarn workspace @alexjorgef/gatsby-source-mixcloud prepare",
4546
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)