name: Check Links | |
on: | |
schedule: | |
- cron: '0 10,22 * * *' | |
repository_dispatch: | |
types: check-links | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- name: Check Links | |
run: | | |
npm i | |
node checkLinks.js | |
working-directory: .scripts |