Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Add links checker (#119)
Browse files Browse the repository at this point in the history
* Run linter

* Add links checker

* Make CI less verbose

* Fix links

* Disable link checker for yliquidate.md
  • Loading branch information
milkyklim authored Nov 24, 2020
1 parent 5ba8285 commit 4e6d983
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 33 deletions.
54 changes: 29 additions & 25 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,42 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: Check

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
lint:

runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Cache modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Install modules
run: npm install

- name: Run linter on
run: npm run lint:check
- name: Checkout repo
uses: actions/checkout@v2

- name: Cache modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"

- name: Install modules
run: npm install

- name: Run linter on
run: npm run lint:check

- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
14 changes: 7 additions & 7 deletions how-to-guides/how-to-understand-crv-vote-locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ A "Yearn boost" tool displaying Yearn's current active and potential boost is in

## More information

- Use CRV: https://www.curve.fi/usecrv
- Curve Guide for staking CRV: https://resources.curve.fi/guides/staking-your-crv
- Curve Guide for vote locking: https://guides.curve.fi/how-to-boost-your-crv-rewards-by-vote-locking/
- Curve FAQ: https://resources.curve.fi/faq/vote-locking-boost
- deFinn Infographic on CRV Voting Boost and formula: https://drive.google.com/uc?export=download&id=1DvytXXS0WXmJ65X4jg8vfuT-zWXFxxSk
- Boost calculator: https://dao.curve.fi/minter/calc
- Yearn CurveDAO proxy strategy diagram: https://twitter.com/bantg/status/1308680661801340929
- [curve.fi](https://www.curve.fi/usecrv) webpage
- Curve [Guide](https://resources.curve.fi/guides/staking-your-crv) for staking CRV
- Curve [Guide](https://guides.curve.fi/how-to-boost-your-crv-rewards-by-vote-locking) for vote locking
- Curve [FAQ](https://resources.curve.fi/faq/vote-locking-boost)
- deFinn [Infographic](https://drive.google.com/uc?export=download&id=1DvytXXS0WXmJ65X4jg8vfuT-zWXFxxSk) on CRV Voting Boost and formula
- Boost [calculator](https://dao.curve.fi/minter/calc)
- Yearn CurveDAO proxy strategy [diagram](https://twitter.com/bantg/status/1308680661801340929)
4 changes: 3 additions & 1 deletion r-and-d/yliquidate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ description: Not recommended for retail use

# yLiquidate

{% embed url="https://yliquidate.finance/" caption="" %}
<!-- markdown-link-check-disable -->

{% embed url="https://yliquidate.finance" caption="" %}

0 comments on commit 4e6d983

Please sign in to comment.