mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-14 18:35:37 +00:00
28 lines
719 B
YAML
28 lines
719 B
YAML
name: Test deployment
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test-deploy:
|
|
name: Test deployment
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: yarn
|
|
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Check Markdown links
|
|
run: yarn run remark --quiet --use remark-validate-links ./docs
|
|
- name: Check External links
|
|
run: yarn run remark --quiet --use remark-lint-no-dead-urls ./docs
|
|
- name: Test build website
|
|
env:
|
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
|
run: yarn build --no-minify |