-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ci: simplify ci config and bump some deps version #2770
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,12 @@ on: | |
name: Trigger Release | ||
|
||
env: | ||
PNPM_VERSION: 8.4.0 | ||
SEMVER_TYPE: ${{ github.event.inputs.semverType }} | ||
RELEASE_TYPE: ${{ github.event.inputs.releaseType }} | ||
|
||
jobs: | ||
start: | ||
runs-on: ubuntu-latest | ||
|
||
environment: release-${{ github.event.inputs.releaseType }}-${{ github.event.inputs.semverType }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we dont have multiple enviornments now, so this could be removed |
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -37,7 +34,9 @@ jobs: | |
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} | ||
- name: Install | ||
uses: ./.github/workflows/install | ||
- run: | | ||
- name: Test | ||
run: | | ||
pnpm run-all-checks | ||
pnpm clean | ||
pnpm build | ||
pnpm run-all-checks | ||
|
@@ -53,11 +52,6 @@ jobs: | |
node ./scripts/bump-next-version.js | ||
|
||
- name: Git push | ||
env: | ||
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think git never use this env |
||
run: | | ||
git push origin main | ||
git push origin --tags | ||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pnpm/set-up will read version from
package.json