We need to compile first :).

This commit is contained in:
Julien Lengrand-Lambert
2021-01-22 12:19:47 +01:00
parent 3a902b4859
commit 46b5fbd155

View File

@@ -6,6 +6,29 @@ jobs:
name: Checking for dead links
steps:
- uses: actions/checkout@v2
- name: Setup Node 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn site:build
- name: check-html-links-action step
id: check-links
uses: modernweb-dev/check-html-links-action@v1.1