mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 16:56:50 +00:00
Update actions
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -17,17 +17,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [16]
|
|
||||||
steps:
|
steps:
|
||||||
# Checkout and setup
|
# Checkout and setup
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Setup (Node.js ${{ matrix.node-version }})
|
- name: Setup
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: 16
|
||||||
# Install and build
|
# Install and build
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
@@ -45,6 +42,3 @@ jobs:
|
|||||||
cname: einundzwanzig.space
|
cname: einundzwanzig.space
|
||||||
user_name: 'github-actions[bot]'
|
user_name: 'github-actions[bot]'
|
||||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
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"
|
|
||||||
|
|||||||
13
.github/workflows/linkcheck.yml
vendored
13
.github/workflows/linkcheck.yml
vendored
@@ -3,22 +3,19 @@ name: linkcheck
|
|||||||
on:
|
on:
|
||||||
# Run once per day
|
# Run once per day
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '* * * * *'
|
- cron: '21 1 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [16]
|
|
||||||
steps:
|
steps:
|
||||||
# Checkout and setup
|
# Checkout and setup
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Setup (Node.js ${{ matrix.node-version }})
|
- name: Setup
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: 16
|
||||||
# Install and build
|
# Install and build
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user