Skip to content

Commit

Permalink
[release-1.3] chore(release): add lockfiles in release (#2395)
Browse files Browse the repository at this point in the history
* chore(release): add lockfiles in release

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* add exception to changeset status

Signed-off-by: Paul Schultz <pschultz@pobox.com>

---------

Signed-off-by: Paul Schultz <pschultz@pobox.com>
Co-authored-by: Paul Schultz <pschultz@pobox.com>
  • Loading branch information
openshift-cherrypick-robot and schultzp2020 authored Oct 18, 2024
1 parent da1677f commit 68bcdb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
yarn install
- name: Verify changesets
if: github.actor != 'janus-idp[bot]'
run: |
yarn changeset status --since=${{ github.event.pull_request.base.sha }}
Expand Down
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 @@ -26,9 +26,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 68bcdb7

Please sign in to comment.