From 3e10a1bb4fba67ec0242840dee7d27da7df528fb Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Fri, 16 Dec 2022 07:22:35 +0100 Subject: [PATCH] Update actions --- .github/workflows/build.yml | 14 ++++---------- .github/workflows/linkcheck.yml | 13 +++++-------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 461d4e52e1b..3b77ad23f65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,17 +17,14 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16] steps: # Checkout and setup - name: Checkout - uses: actions/checkout@v2 - - name: Setup (Node.js ${{ matrix.node-version }}) - uses: actions/setup-node@v1 + uses: actions/checkout@v3 + - name: Setup + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 16 # Install and build - name: Install run: npm ci @@ -45,6 +42,3 @@ jobs: cname: einundzwanzig.space user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - # Run linkcheck, propagate linkcheck failure through grep pipe - # - name: Linkcheck - # run: set -o pipefail; npm run linkcheck 2>/dev/null | grep "Getting links from\|BROKEN" diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 6c517d73f9f..6d8589a0030 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -3,22 +3,19 @@ name: linkcheck on: # Run once per day schedule: - - cron: '* * * * *' + - cron: '21 1 * * *' jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16] steps: # Checkout and setup - name: Checkout - uses: actions/checkout@v2 - - name: Setup (Node.js ${{ matrix.node-version }}) - uses: actions/setup-node@v1 + uses: actions/checkout@v3 + - name: Setup + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 16 # Install and build - name: Install run: npm ci