mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
17.43.2026 62c5f2218be43559731dd723fc9d5555bf24aadf
ci: add quickstart test to workflows

see #937

Signed-off-by: Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
1 files added
49 ■■■■■ changed files
.github/workflows/quickstart.yml 49 ●●●●● patch | view | raw | blame | history
.github/workflows/quickstart.yml
New file
@@ -0,0 +1,49 @@
name: Quickstart test
on:
  push:
    branches:
      - main
      - master
      - develop
      - "**"
  pull_request:
permissions:
  contents: read
jobs:
  quickstart:
    name: Hugo quickstart
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v4
        with:
          submodules: false
      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: "24"
      - name: Set up Hugo
        uses: peaceiris/actions-hugo@v3
        with:
          hugo-version: "latest"
          extended: true
      - name: Show tool versions
        run: |
          node --version
          npm --version
          git --version
          hugo version
      - name: Install dependencies
        run: npm ci
      - name: Run quickstart test
        run: |
          node scripts/test-hugo-quickstart.ts