Skip to content

Commit

Permalink
updated the release file with the required changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushNautiyalDeveloper committed Jun 20, 2024
1 parent 5f435e4 commit 11c8b27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in the above-mentioned repo

# It does magic only if there is a package.json file in the root of the project
name: Release - if Node project
name: Release with changeset

on:
push:
Expand Down Expand Up @@ -106,15 +106,19 @@ jobs:
name: Install dependencies
shell: bash
run: npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Install Changesets
run: npm install --save-dev @changesets/[email protected]

- if: steps.packagejson.outputs.exists == 'true'
name: Create Release Pull Request or Release
uses: changesets/action@v1
- if: steps.packagejson.outputs.exists == 'true'
name: Publish to any of NPM, Github, and Docker Hub
id: release
with:
publish: npm run publish-packages
version: npm run version-packages
publish: npx turbo run build && npx changeset publish
version: npx changeset version
commit: "version packages"
title: "chore: version packages"
env:
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
"generate:readme:toc": "markdown-toc -i \"README.md\"",
"generate:assets": "npm run build && npm run generate:readme:toc",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"prepublishOnly": "npm run generate:assets",
"changeset": "changeset",
"version-packages": "changeset version",
"publish-packages": "turbo run build && changeset publish"
"prepublishOnly": "npm run generate:assets"
},
"dependencies": {
"@asyncapi/specs": "^6.7.1",
Expand Down Expand Up @@ -91,8 +88,7 @@
"typescript": "^4.8.2",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"@changesets/cli": "^2.26.1"
"webpack-cli": "^4.10.0"
},
"browserify": {
"transform": [
Expand Down

0 comments on commit 11c8b27

Please sign in to comment.