Skip to content

feat: make the AEAD mechanism visible for newcomers (7->9 teaching pass) #14

feat: make the AEAD mechanism visible for newcomers (7->9 teaching pass)

feat: make the AEAD mechanism visible for newcomers (7->9 teaching pass) #14

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- name: Install
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Unit tests (vitest — AESL KAT · AEAD round-trip · key recovery)
run: npm test
- name: Build
run: npm run build
- name: Install Playwright browser
run: npx playwright install --with-deps chromium
- name: Accessibility gate (axe-core, WCAG A/AA)
run: npm run test:a11y
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5