Update actions

This commit is contained in:
Dennis Reimann
2022-12-16 07:22:35 +01:00
parent a189c54d5d
commit 3e10a1bb4f
2 changed files with 9 additions and 18 deletions

View File

@@ -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"

View File

@@ -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