mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-13 18:05:38 +00:00
31 lines
819 B
YAML
31 lines
819 B
YAML
name: Test deployment
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**/README.md'
|
|
- '**/.github/ISSUE_TEMPLATE/**'
|
|
|
|
jobs:
|
|
test-deploy:
|
|
name: Test deployment
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
cache: yarn
|
|
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Check Markdown links
|
|
run: yarn run remark --quiet --frail --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=7168"
|
|
run: yarn build --no-minify |