Skip to content

Commit

Permalink
chore(release): add lockfiles in release
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Schultz <pschultz@pobox.com>
  • Loading branch information
schultzp2020 committed Oct 18, 2024
1 parent a7e4620 commit d23864f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- 1.2.x
- release-[0-9].[0-9]*

env:
TURBO_SCM_BASE: ${{ github.event.before }}
TURBO_SCM_HEAD: ${{ github.sha }}

# enforce only one release action per release branch at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
"new": "janus-cli new --do-not-edit-packages",
"prepare": "husky install",
"export-dynamic": "turbo run export-dynamic",
"versions:bump": "backstage-cli versions:bump && find . -name 'package.json' ! -path '*/node_modules/*' -exec sed -i -e '/devDependencies/,/\\\\}/{ s/\\\"\\\\^/\\\"/; }' {} ; && yarn install && yarn run export-dynamic --no-cache -- -- --clean",
"packages:version": "changeset version && yarn install",
"packages:publish": "turbo build --concurrency=75% --filter=@janus-idp/* && changeset publish"
"export-dynamic:clean": "turbo run export-dynamic -- -- --clean",
"versions:bump": "backstage-cli versions:bump && find . -name 'package.json' ! -path '*/node_modules/*' -exec sed -i -e '/devDependencies/,/\\\\}/{ s/\\\"\\\\^/\\\"/; }' {} ; && yarn install && turbo run export-dynamic:clean",
"packages:version": "changeset version && yarn install && turbo run export-dynamic:clean --concurrency=75% --affected && git add .\\*package.json .\\*yarn.lock",
"packages:publish": "turbo run build --concurrency=75% --filter=@janus-idp/* && changeset publish"
},
"workspaces": {
"packages": [
Expand Down

0 comments on commit d23864f

Please sign in to comment.