Skip to content

Commit

Permalink
ci: enable auto merge for renovate
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Sep 2, 2024
1 parent ba36411 commit a6bc53f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,24 @@ jobs:
node-version-file: '.nvmrc'
cache: pnpm

- name: Install dependencies
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install JS dependencies
run: pnpm install --frozen-lockfile

- name: Run pnpm build
- name: Build site
env:
NUXT_UI_PRO_LICENSE: "${{ secrets.NUXT_UI_PRO_LICENSE }}"
run: pnpm build
run: |
pnpm build
13 changes: 12 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"extends": [
"github>nuxt/renovate-config-nuxt"
]
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
{
"matchDepTypes": ["devDependencies"],
"automerge": true
}
],
"platformAutomerge": true
}

0 comments on commit a6bc53f

Please sign in to comment.