Skip to content

Commit

Permalink
ci(renovate): update renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jul 29, 2024
1 parent 1c7e936 commit 53eb071
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
15 changes: 6 additions & 9 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"configMigration": true,
"extends": [
"config:recommended",
"group:allNonMajor",
"schedule:weekly",
":approveMajorUpdates",
":automergeBranch",
":automergeMinor",
":disablePeerDependencies",
":maintainLockFilesMonthly",
":semanticCommits",
":semanticCommitTypeAll(chore)"
],
"ignorePresets": [":ignoreModulesAndTests"],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"postUpdateOptions": ["pnpmDedupe"],
"semanticCommits": "enabled",
"packageRules": [
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchCurrentVersion": ">=1.0.0",
"matchUpdateTypes": ["minor", "patch"]
}
],
"ignoreDeps": [
"@types/node",
"@types/react",
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: pr

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'media/**'
- '**/*.md'
push:
branches-ignore: [main, alpha, beta]

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
Expand Down
4 changes: 0 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
]
},
"targetDefaults": {
"test:format": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
},
"test:knip": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"clean": "pnpm --filter \"./packages/**\" run clean",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
"test": "pnpm run test:ci",
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
"test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
"test:eslint": "nx affected --target=test:eslint",
"test:format": "pnpm run prettier --check",
"test:sherif": "sherif",
Expand All @@ -29,7 +29,6 @@
},
"nx": {
"includedScripts": [
"test:format",
"test:knip",
"test:sherif"
]
Expand Down

0 comments on commit 53eb071

Please sign in to comment.