ci: run tests on renovate pr
This commit is contained in:
parent
232f2ae909
commit
df26e4e6df
4 changed files with 8 additions and 4 deletions
3
.github/workflows/renovate.yml
vendored
3
.github/workflows/renovate.yml
vendored
|
|
@ -28,6 +28,9 @@ jobs:
|
||||||
- name: Install Renovate
|
- name: Install Renovate
|
||||||
run: bun install -g renovate re2
|
run: bun install -g renovate re2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install
|
||||||
|
|
||||||
- name: Echo repository
|
- name: Echo repository
|
||||||
run: echo ${{ github.repository }}
|
run: echo ${{ github.repository }}
|
||||||
|
|
||||||
|
|
|
||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
export default {
|
export default {
|
||||||
allowedCommands: ["bun ./scripts/update-config.ts"],
|
allowedCommands: ["bun ./scripts/update-config.ts", "bun run test"],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,8 @@
|
||||||
],
|
],
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}"
|
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}",
|
||||||
|
"bun run test"
|
||||||
],
|
],
|
||||||
"fileFilters": [
|
"fileFilters": [
|
||||||
"**/*"
|
"**/*"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue