Skip to content

ci(schedule): Run cron for end to end test #1

ci(schedule): Run cron for end to end test

ci(schedule): Run cron for end to end test #1

Workflow file for this run

name: Documentation links
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
markdown-test-links:
name: Markdown test links
runs-on: ubuntu-latest
steps:
- name: Clone sources
uses: actions/checkout@v4
with:
path: extension
- name: Launch localhost server
run: |
sudo npm install --global http-server
http-server ./extension &
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Check links in Markdown files
run: |
gem install awesome_bot
cd extension
awesome_bot README.md --skip-save-results --allow-dupe --base-url http://localhost:8080/
awesome_bot doc/*.md --skip-save-results --allow-dupe --white-list repo.magento.com,ddev.site,Composer-plugin-against-Dependency-Confusion-attacks --base-url http://localhost:8080/doc/