Skip to content

Commit

Permalink
trigger coherence across actions (#1657)
Browse files Browse the repository at this point in the history

Co-authored-by: gagdiez <gagdiez.c@gmail.com>
  • Loading branch information
matiasbenary and gagdiez authored Jan 10, 2024
1 parent bfaa2cb commit e3a27e9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Build docs on PR merge

on:
pull_request:
types: [closed]
push:
branches:
- master
workflow_dispatch:

jobs:
merge_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
types: [opened, reopened, synchronize]
branches:
- master
push:
branches:
- master

jobs:
misspell:
Expand Down
37 changes: 26 additions & 11 deletions .github/workflows/test-links.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
name: Link Checker

on: [pull_request]
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
branches:
- master

jobs:
check_links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "18"

- name: Install dependencies
run: cd ./website && yarn
- uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/website/.docusaurus
${{ github.workspace }}/**/.cache
key: |
${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-docusaurus-${{ hashFiles('**/yarn.lock') }}
- name: Run test
run: cd ./website && yarn full-test
- name: Install dependencies
run: cd ./website && yarn

- name: Run test
run: cd ./website && yarn full-test

0 comments on commit e3a27e9

Please sign in to comment.