Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-1.3] chore(release): add lockfiles in release #2395

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
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
Loading