Skip to content

Release v190

Release v190 #843

Workflow file for this run

---
name: Website
on:
pull_request:
paths:
- website/**
- .github/workflows/website.yml
push:
branches-ignore:
- dependabot/**
paths:
- website/**
- .github/workflows/website.yml
workflow_dispatch:
permissions:
contents: read
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 0 # Needed for lastUpdated date to be set
- name: ⎔ Setup node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
cache: npm
cache-dependency-path: website/package-lock.json
- name: 📥 Download deps
run: |
cd website
npm ci
- name: Run build
run: |
cd website
npm run build
- name: Run HTMLHint (SARIF)
run: |
cd website
npm run htmlhint-sarif || true
# Continue even if HTMLHint finds issues
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2 # v4.32.2
with:
sarif_file: website/htmlhint.sarif
category: HTMLHint
if: always()