From b36340df0a5c6a89f7a213f93ef073a09551d5f4 Mon Sep 17 00:00:00 2001 From: Dwayne Charrington Date: Mon, 16 Dec 2024 09:22:16 +1000 Subject: [PATCH] fix(workflow): trying to solve these issues --- .github/workflows/hugo.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index f6fe45c..ee353b9 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -31,7 +31,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.128.0 + HUGO_VERSION: 0.139.4 steps: - name: Install Hugo CLI run: | @@ -46,8 +46,17 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v5 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - name: Install Node.js dependencies - run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + run: npm ci + + - name: Build Tailwind CSS + run: npm run build:tw # New steps for Aurelia 2 build - name: Clean Aurelia 2 directory @@ -77,7 +86,7 @@ jobs: # Deployment job deploy: environment: - name: production + name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build