Skip to content

Validate urls in source code #111

Validate urls in source code

Validate urls in source code #111

name: Validate urls in source code
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- .github/workflows/detect-broken-urls-nightly.yml
- packages/react-native-reanimated/scripts/validate-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@v4
- name: Install monorepo node dependencies
run: yarn install
- name: Install Reanimated node dependencies
working-directory: packages/react-native-reanimated
run: yarn install
- name: Install node-fetch 2
working-directory: packages/react-native-reanimated
run: yarn add node-fetch@2
- name: Validate urls
working-directory: packages/react-native-reanimated
run: node scripts/validate-urls.js