Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/workflows/npm-publish-github-packages.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
- json-difference-cli
- all
required: true
dry_run:
type: boolean
description: 'Dry run: preview versioning/publish without tagging, publishing, or deploying to S3'
default: false
required: false

jobs:
main:
Expand Down Expand Up @@ -69,9 +74,10 @@ jobs:

- name: Version And Publishment
shell: bash
run: yarn release ${{ github.event.inputs.name == 'all' && '--all' || '--projects=' }}${{ github.event.inputs.name == 'all' && ' ' || github.event.inputs.name }}
run: yarn ${{ github.event.inputs.dry_run == 'true' && 'release:dry-run' || 'release' }} ${{ github.event.inputs.name == 'all' && '--all' || '--projects=' }}${{ github.event.inputs.name == 'all' && ' ' || github.event.inputs.name }}

- name: Tag last-release
if: github.event.inputs.dry_run != 'true'
shell: bash
run: git tag -f last-release

Expand All @@ -81,7 +87,7 @@ jobs:
yarn nx run-many --target=build-to-s3 --projects=json-difference

- name: Deploy Json Difference to Amazon S3 🚀
if: github.event.inputs.name == 'json-difference' || github.event.inputs.name == 'all'
if: github.event.inputs.dry_run != 'true' && (github.event.inputs.name == 'json-difference' || github.event.inputs.name == 'all')
uses: reggionick/s3-deploy@v4
with:
folder: libs/json-difference/dist.browser-s3
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"graph": "yarn nx graph",
"graph:affected": "yarn nx graph --affected",
"release": "yarn nx run-many --target=version --parallel=1 ${0}",
"release:dry-run": "yarn nx run-many --target=version --parallel=1 ${0} --dry-run",
"upgrade": "yarn npm-check-updates --interactive",
"claude": "yarn nx run mcp-json-diff:build --no-tui && claude"
},
Expand Down
Loading