diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..aab1f3a --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,41 @@ +name: Renovate + +# Renovate is not hosted for Gitea, so this repository runs it itself. +# The bot opens dependency PRs through the API; the PR pipeline checks them +# (a branch protection rule should require those checks before automerge). +# +# Manual setup: create a bot account with its full name and email set, give +# it write access to this repository, and store a token with +# repository read/write, issue read/write, user read and organization read +# as the RENOVATE_TOKEN Actions secret. +on: + schedule: + # Daily at 04:00 UTC. Gitea only schedules workflows that exist on the + # default branch. + - cron: "0 4 * * *" + workflow_dispatch: + +concurrency: + group: renovate + cancel-in-progress: false + +jobs: + renovate: + name: Run Renovate + runs-on: ubuntu-latest + timeout-minutes: 30 + # Pinned and multi-arch (the runner is arm64). The image installs the + # Node-based toolchain it needs on demand. + container: renovate/renovate:44.198.2 + steps: + - name: Run Renovate + env: + RENOVATE_PLATFORM: gitea + # API root, not the web root. Renovate reads renovate.json from the + # default branch through this endpoint. + RENOVATE_ENDPOINT: https://git.noelsabia.dev/api/v1 + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + # This workflow lives in the repository it updates, so scope the bot + # to it instead of every repository its account can see. + RENOVATE_REPOSITORIES: CV_Website/CV_Site_Nuxt + run: renovate diff --git a/Dockerfile b/Dockerfile index 89a1b99..aba0c9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ # runner's arm64 and this workstation's x86_64. # syntax: no BuildKit-only features used, so the default frontend suffices. -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 AS build +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 AS build # pnpm pinned to the same version as CI (pr-checker.yml pins major 11) and # the local toolchain (11.26.0). Installed via npm from the node image - no @@ -38,7 +38,7 @@ COPY . . RUN pnpm build -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 # pnpm is NOT installed in the runtime image: nothing here runs pnpm. ENV NODE_ENV=production \ diff --git a/Dockerfile.dev b/Dockerfile.dev index 1556300..c548d1a 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 # Node no longer bundles pnpm (corepack and pnpm are both absent from this # image), so install it. First instruction, so later changes reuse the layer. diff --git a/package.json b/package.json index 2fe8bce..56169f2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@iconify-json/material-symbols": "^1.2.95", - "@nuxt/icon": "2.6.0", + "@nuxt/icon": "2.6.2", "@nuxtjs/i18n": "10.6.0", "@nuxtjs/seo": "6.0.1", "@nuxtjs/tailwindcss": "6.14.0", diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..d64cd8b --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "automerge": true +}