-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the release file with the required changes.
- Loading branch information
1 parent
5f435e4
commit 11c8b27
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters