Skip to content

Subscriber Agreement 1.7 is now current (#2230) #2247

Subscriber Agreement 1.7 is now current (#2230)

Subscriber Agreement 1.7 is now current (#2230) #2247

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
- name: Setup Hugo
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
with:
# same as netlify.toml
hugo-version: '0.148.2'
extended: true
- name: Set up Python 3.13
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13
- name: Setup html5validator
run: |
python -m pip install --upgrade pip
pip install html5validator
- run: npm install
- run: npm run build
- run: npm test
- name: Install xmllint
run: sudo apt-get install -y libxml2-utils
- name: Validate RSS feed
run: xmllint --noout public/feed.xml
# - run: npm run test:html5validate