Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Validate repository

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
validate:
name: Validate repository
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit
- name: Build production site
run: npm run build:production
env:
GH_TOKEN: ${{ github.token }}
SITE_URL: https://cncf.github.io
BASE_URL: /endusers/
Loading