diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a4c5d6a..fba6b74 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -6,8 +6,10 @@ on: - main jobs: publish: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Cache Maven packages uses: actions/cache@v4 with: @@ -18,7 +20,10 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/deps.edn') }} restore-keys: ${{ runner.os }}-m2 - - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" - name: Install clojure tools uses: DeLaGuardo/setup-clojure@12.5 @@ -27,6 +32,9 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} bb: latest + - name: Install npm deps + run: npm install + - name: Build static site run: bb build-static