Skip to content

Update CI dependencies (#1164) #2899

Update CI dependencies (#1164)

Update CI dependencies (#1164) #2899

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.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 }}