Skip to content

Commit

Permalink
lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed May 24, 2024
1 parent 9aaae89 commit 2d0daf1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lighthouse
on: [pull_request]

jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Lighthouse
uses: foo-software/lighthouse-check-action@master
with:
urls: "https://docs.sunpy.org/en/stable/"
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:
autoupdate_schedule: "quarterly"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.3"
rev: "v0.4.5"
hooks:
- id: ruff
args: ["--fix", "--unsafe-fixes"]
Expand Down Expand Up @@ -42,7 +42,7 @@ repos:
args: ["--fix=lf"]
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args: ["--write-changes"]
7 changes: 7 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
ci: {
upload: {
target: "temporary-public-storage",
},
},
};

0 comments on commit 2d0daf1

Please sign in to comment.