diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 0449b42fe..9a80e8d7a 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -20,7 +20,7 @@ jobs: uses: renovatebot/github-action@v46.1.1 env: RENOVATE_REPOSITORIES: ${{ github.repository }} - RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^bash -c .npm install && npm test -- -u.$"]' + RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^bash -c .cd ui && npm install && npm test -- -u.$"]' with: configurationFile: renovate.json token: ${{ secrets.GH_REPO_TOKEN }} diff --git a/renovate.json b/renovate.json index 89865abf0..d31d1847c 100644 --- a/renovate.json +++ b/renovate.json @@ -29,7 +29,7 @@ "description": "Update snapshots after npm upgrades", "matchManagers": ["npm"], "postUpgradeTasks": { - "commands": ["bash -c 'npm install && npm test -- -u'"], + "commands": ["bash -c 'cd ui && npm install && npm test -- -u'"], "fileFilters": ["ui/src/**/__snapshots__/**"], "executionMode": "branch" }