diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 640019b..94042f9 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -15,8 +15,6 @@ jobs: ref: ${{ github.head_ref }} - uses: pnpm/action-setup@v4 - with: - version: 10.33.4 - uses: actions/setup-node@v4 with: @@ -42,16 +40,3 @@ jobs: TIGRIS_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.TIGRIS_STORAGE_SECRET_ACCESS_KEY }} TIGRIS_STORAGE_ENDPOINT: ${{ secrets.TIGRIS_STORAGE_ENDPOINT }} run: pnpm -r --if-present run test - - - name: Detect package changes - id: pkg-changed - run: | - if git diff --name-only origin/main...HEAD | grep -qE '^(packages/|shared/)'; then - echo "changed=true" >> "$GITHUB_OUTPUT" - else - echo "changed=false" >> "$GITHUB_OUTPUT" - fi - - - name: Verify changeset present - if: steps.pkg-changed.outputs.changed == 'true' - run: pnpm changeset status --since=origin/main diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 57fe4f2..a6ca657 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,8 +23,6 @@ jobs: fetch-depth: 0 - uses: pnpm/action-setup@v4 - with: - version: 10.33.4 - uses: actions/setup-node@v4 with: diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..013ef55 --- /dev/null +++ b/renovate.json @@ -0,0 +1,105 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommitScope(deps)", + ":maintainLockFilesWeekly", + "schedule:weekly" + ], + "prHourlyLimit": 4, + "prConcurrentLimit": 10, + "rebaseWhen": "behind-base-branch", + "dependencyDashboard": true, + "osvVulnerabilityAlerts": true, + "vulnerabilityAlerts": { + "schedule": ["at any time"] + }, + "lockFileMaintenance": { + "enabled": true, + "schedule": ["before 6am on monday"] + }, + "postUpdateOptions": ["pnpmDedupe"], + "packageRules": [ + { + "description": "Throttle major-version updates to every two weeks", + "matchUpdateTypes": ["major"], + "schedule": ["every 2 weeks on monday before 6am"] + }, + { + "description": "Group AWS SDK + S3 + Smithy ecosystem into one PR", + "matchPackageNames": [ + "/^@aws-sdk\\//", + "/^@aws-crypto\\//", + "/^@smithy\\//" + ], + "groupName": "aws-sdk" + }, + { + "description": "Group Changesets tooling", + "matchPackageNames": ["/^@changesets\\//"], + "groupName": "changesets" + }, + { + "description": "Group commitlint + commitizen", + "matchPackageNames": [ + "commitizen", + "cz-conventional-changelog", + "/^@commitlint\\//" + ], + "groupName": "commitlint" + }, + { + "description": "Group Biome", + "matchPackageNames": ["/^@biomejs\\//"], + "groupName": "biome" + }, + { + "description": "Group React ecosystem (peer + test deps)", + "matchPackageNames": [ + "react", + "react-dom", + "@types/react", + "@types/react-dom", + "@testing-library/react", + "@testing-library/jest-dom", + "jsdom" + ], + "groupName": "react" + }, + { + "description": "Group Keyv", + "matchPackageNames": ["keyv", "/^@keyv\\//"], + "groupName": "keyv" + }, + { + "description": "Group all GitHub Actions into one PR", + "matchManagers": ["github-actions"], + "groupName": "github-actions" + }, + { + "description": "Group pnpm bumps (packageManager field + workflows)", + "matchPackageNames": ["pnpm"], + "groupName": "pnpm" + }, + { + "description": "Auto-merge devDependency patches and minors after CI passes", + "matchDepTypes": ["devDependencies"], + "matchUpdateTypes": ["patch", "minor"], + "automerge": true, + "automergeType": "pr" + }, + { + "description": "Auto-merge GitHub Actions patches and minors", + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["patch", "minor"], + "automerge": true, + "automergeType": "pr" + }, + { + "description": "Auto-merge weekly lockfile maintenance", + "matchUpdateTypes": ["lockFileMaintenance"], + "automerge": true, + "automergeType": "pr" + } + ] +}