diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc8a3d8..e25375d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,15 +14,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install vnu - run: | - sudo apt-get update -qq - sudo apt-get install -y -qq default-jre - curl -sL https://github.com/validator/validator/releases/latest/download/vnu.jar_dist.zip -o vnu.zip - unzip -q vnu.zip + - name: Install vnu-jar + run: npm install --no-save vnu-jar - name: Validate HTML - run: java -jar dist/vnu.jar --errors-only index.html + run: java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only index.html check-links: name: Check Links @@ -34,5 +30,5 @@ jobs: - name: Check links uses: lycheeverse/lychee-action@v2 with: - args: --exclude fonts.googleapis.com --exclude fonts.gstatic.com --exclude d3js.org --exclude localhost --no-progress index.html README.md + args: --exclude fonts.googleapis.com --exclude fonts.gstatic.com --exclude d3js.org --exclude linkedin.com --exclude localhost --no-progress index.html README.md fail: true