Skip to content

[Issues #8 and #9] ADRs for website framework and hosting #7

[Issues #8 and #9] ADRs for website framework and hosting

[Issues #8 and #9] ADRs for website framework and hosting #7

Workflow file for this run

name: CI - Website
on:
workflow_call:
pull_request:
paths:
- website/**
- .github/workflows/ci-website.yml
defaults:
run:
working-directory: ./website
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Dependencies
# Installs dependencies directly from package.lock
# and skips dependency resolution etc.
run: npm ci
- name: Lint and Format
run: |
npm run check:lint
npm run check:format
- name: Check spelling
run: npm run check:spelling
- name: Check astro files
run: npm run check:astro
- name: Build Site
run: npm run build
- name: Check Links
uses: lycheeverse/[email protected]
with:
# Check the links in the html files in the output directory
# that were generated by `npm run build`
args: ./dist/
- name: Audit Dependencies
run: npm audit --production