diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3527c07 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: CI + +on: + pull_request: + branches: + - main + +permissions: + contents: read + +concurrency: + group: ci-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Set up pnpm + uses: pnpm/action-setup@v6 + with: + version: 11.16.0 + + - name: Set up Node.js + uses: actions/setup-node@v6 + with: + node-version: 24 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Check Astro and TypeScript + run: pnpm check + + - name: Build + run: pnpm build \ No newline at end of file diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 69bcff7..f3edfc4 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -36,7 +36,10 @@ const { locale, copy } = Astro.props; {copy.hero.titleLead} {copy.hero.titleEnd} -

{copy.hero.description}

+

+ {copy.hero.descriptionLead} + {copy.hero.descriptionEnd} +

{copy.hero.action}