10.10 hwa / transcode docs update #2897
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Set up Node.js | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
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 }} |