Skip to content

Commit

Permalink
build and check
Browse files Browse the repository at this point in the history
  • Loading branch information
niklabh committed May 3, 2023
1 parent cd95c01 commit bf2aea0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@ on:
- cron: "00 18 * * *"

jobs:
linkChecker:
build_and_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn && yarn build

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.7.0
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --verbose --exclude-path ./node_modules/ "./**/*.js" "./**/*.ts" "./**/*.html" "./**/*.scss"

- name: Create Issue From File
if: env.lychee_exit_code != 0
Expand Down

0 comments on commit bf2aea0

Please sign in to comment.