mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 12:05:41 +03:00
22 lines
609 B
YAML
22 lines
609 B
YAML
name: Broken link checker
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 5 * * 1-5'
|
|
workflow_dispatch:
|
|
inputs: { url: { description: 'URL to check', required: false, default: 'https://es-toolkit.slash.page' } }
|
|
|
|
jobs:
|
|
broken-link-checker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: corepack enable
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
cache: 'yarn'
|
|
cache-dependency-path: 'yarn.lock'
|
|
node-version-file: '.nvmrc'
|
|
- run: yarn install
|
|
- run: yarn blc ${{ github.event.inputs.url || 'https://es-toolkit.slash.page' }} --ro
|