Skip to content

Merge pull request #746 from jellyfin/renovate/easyops-cn-docusaurus-… #1607

Merge pull request #746 from jellyfin/renovate/easyops-cn-docusaurus-…

Merge pull request #746 from jellyfin/renovate/easyops-cn-docusaurus-… #1607

Workflow file for this run

name: test
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test-urls:
name: Test URLs
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command:
- test:blog-urls
- test:docs-urls
- test:web-urls
steps:
- name: Check out Git repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 20
check-latest: true
cache: npm
- name: Build and start test server
run: |
npm ci --no-audit
npm run build
npm run serve &
- name: Test URL
run: npm run ${{ matrix.command }}