Skip to content

⬆️ Bump actions/cache from 5 to 6 in /.github/workflows/actions/install-dependencies #276

⬆️ Bump actions/cache from 5 to 6 in /.github/workflows/actions/install-dependencies

⬆️ Bump actions/cache from 5 to 6 in /.github/workflows/actions/install-dependencies #276

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
concurrency:
group: tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Test website build
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json
- name: Install dependencies
uses: ./.github/workflows/actions/install-dependencies
- name: Build Eleventy in production mode
run: npm run build
- name: Save artifact
uses: actions/upload-artifact@v7
with:
name: beeps-website-pr-${{ github.event.number }}
path: _site
retention-days: 1
include-hidden-files: true
test-links:
name: Check links
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Download artifact
uses: actions/download-artifact@v8
with:
name: beeps-website-pr-${{ github.event.number }}
- name: Check links
run: npx hyperlink index.html --canonicalroot 'https://beeps.website' --internal --recursive --pretty
shell: bash