diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml index fbd4289..5f39cf7 100644 --- a/.github/workflows/broken-links.yml +++ b/.github/workflows/broken-links.yml @@ -1,11 +1,10 @@ -name: broken links? 'on': push: - branches: - - "**" + branches: + - "**" schedule: - - cron: 0 16 * * * - workflow_dispatch: + - cron: 0 14 * * * +name: broken links? jobs: linkChecker: runs-on: ubuntu-latest @@ -13,8 +12,8 @@ jobs: - uses: actions/checkout@v2 - name: Link Checker id: lc - uses: peter-evans/link-checker@v1.2.2 + uses: lycheeverse/lychee-action@v2 with: - args: '-v -r *.md' + args: --insecure --base . --verbose --no-progress './**/*.md' './**/*.html' --accept 200,204,206 - name: Fail? run: 'exit ${{ steps.lc.outputs.exit_code }}' diff --git a/README.md b/README.md index 4b1750d..ff30ebd 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-nodejs&metric=coverage)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-nodejs) [![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-nodejs&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-nodejs) [![](https://github.com/Mastercard/client-encryption-nodejs/workflows/broken%20links%3F/badge.svg)](https://github.com/Mastercard/client-encryption-nodejs/actions?query=workflow%3A%22broken+links%3F%22) -[![](https://img.shields.io/npm/v/mastercard-client-encryption.svg)](https://www.npmjs.com/package/mastercard-client-encryption) +[![](http://img.shields.io/npm/v/mastercard-client-encryption.svg)](http://www.npmjs.com/package/mastercard-client-encryption) [![](https://img.shields.io/badge/license-MIT-yellow.svg)](https://github.com/Mastercard/client-encryption-nodejs/blob/master/LICENSE) ## Table of Contents @@ -54,7 +54,7 @@ As part of this set up, you'll receive: If you want to use **mastercard-client-encryption** with [Node.js](https://nodejs.org/), it is available through `npm`: -- [https://npmjs.org/package/mastercard-client-encryption](https://npmjs.org/package/mastercard-client-encryption) +- [http://npmjs.org/package/mastercard-client-encryption](http://npmjs.org/package/mastercard-client-encryption) Adding the library to your project: