CI to detect broken URLs in source code #13
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: Validate urls in source code | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/detect-broken-urls-nightly.yml | |
- scripts/detect-broken-urls.js | |
schedule: | |
- cron: '37 19 * * *' | |
workflow_dispatch: | |
jobs: | |
run: | |
if: github.repository == 'software-mansion/react-native-reanimated' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: yarn add node-fetch@2 | |
- name: Validate urls | |
run: node scripts/validate-urls.js |