Updated fuji tutorial for L1 #80
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: Check MDX Links | |
on: | |
pull_request: | |
paths: | |
- '**/*.mdx' | |
branches: [master] | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '19' | |
- name: Install dependencies | |
run: | | |
yarn install --frozen-lockfile | |
yarn global add tsx wait-on | |
- name: Start Dev Server in Background | |
run: | | |
yarn dev & | |
- name: Wait for Dev Server to be Ready | |
run: | | |
wait-on http://localhost:3000 | |
- name: Check links | |
run: yarn check-links | |
- name: Stop Dev Server | |
run: kill $(jobs -p) || true |