Skip to content

Commit

Permalink
Remove changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
vkruglikov committed Jan 6, 2025
1 parent c66911c commit 99cbc75
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 34 deletions.
36 changes: 35 additions & 1 deletion .github/workflows/compare-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,44 @@ jobs:
with:
fetch-depth: 2

- name: Get current package.json
run: |
cp ${{ inputs.package_path }} current_package.json
- name: Get previous package.json
run: |
git checkout HEAD~1
cp ${{ inputs.package_path }} previous_package.json
- name: Compare package.json versions
id: compare
run: |
CURRENT_VERSION=$(jq -r '.version' current_package.json)
PREVIOUS_VERSION=$(jq -r '.version' previous_package.json)
echo "Current version: $CURRENT_VERSION"
echo "Previous version: $PREVIOUS_VERSION"
if [ "$CURRENT_VERSION" != "$PREVIOUS_VERSION" ]; then
echo "has_changed=true" >> $GITHUB_ENV
echo "has_changed=true"
else
echo "has_changed=false" >> $GITHUB_ENV
echo "has_changed=false"
fi
env:
PACKAGE_PATH: ${{ inputs.package_path }}

- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
PACKAGE_DIR: "./packages/demo"
COMMIT_DISABLED: 1

- name: Check package.json version
uses: hugorcd/[email protected]
id: version_check
with:
path: ${{ inputs.package_path }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.version_check.outputs.has_changed }}
3 changes: 3 additions & 0 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
pages: write
id-token: write
steps:
- run: |
echo ${{ needs.compare-version.outputs.has_changed }}
exit 1
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-npm-deps
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
contents: write

steps:
- run: |
echo ${{ needs.compare-version.outputs.has_changed }}
exit 1
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-npm-deps
Expand Down
13 changes: 0 additions & 13 deletions packages/connect/CHANGELOG.md

This file was deleted.

7 changes: 0 additions & 7 deletions packages/demo/CHANGELOG.md

This file was deleted.

13 changes: 0 additions & 13 deletions packages/extension/CHANGELOG.md

This file was deleted.

3 changes: 3 additions & 0 deletions packages/json-config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### @msw-devtools/json-config

WIP

0 comments on commit 99cbc75

Please sign in to comment.