Skip to content

Lock file maintenance #596

Lock file maintenance

Lock file maintenance #596

Workflow file for this run

name: Node.js CI
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Setup pnpm
uses: pnpm/action-setup@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: Run linting tests
run: pnpm test
- name: Build site with Hugo
run: hugo -d $GITHUB_WORKSPACE/public
- name: Run broken links test
if: success()
run: pnpm run test:links
env:
CI: true