dev #9

Merged
Firq merged 33 commits from dev into main 2023-12-21 11:27:53 +00:00
3 changed files with 22 additions and 29 deletions
Showing only changes of commit b73bda3a78 - Show all commits

View file

@ -48,21 +48,22 @@ jobs:
token: ${{ secrets.FORGEJO_TOKEN }} token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }} tag: ${{ github.ref_name }}
unlighthouse: # doesn't work atm
needs: [publish] # unlighthouse:
if: success() # needs: [publish]
runs-on: docker # if: success()
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest # runs-on: docker
services: # container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
website: # services:
image: forgejo.neshweb.net/firq/firq-dev-website:preview # website:
steps: # image: forgejo.neshweb.net/firq/firq-dev-website:preview
- name: Install Dependencies # steps:
run: npm install @unlighthouse/cli puppeteer # - name: Install Dependencies
- name: Run unlighthouse # run: npm install @unlighthouse/cli puppeteer
run: node_modules/.bin/unlighthouse-ci # - name: Run unlighthouse
- name: Upload reports # run: node_modules/.bin/unlighthouse-ci
uses: actions/upload-artifact@v3 # - name: Upload reports
with: # uses: actions/upload-artifact@v3
name: unlighthouse-reports # with:
path: unlighthouse-reports/ # name: unlighthouse-reports
# path: unlighthouse-reports/

View file

@ -5,21 +5,13 @@ on:
jobs: jobs:
unlighthouse: unlighthouse:
runs-on: dind runs-on: docker
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
services:
firqdevwebsite:
image: forgejo.neshweb.net/firq/firq-dev-website:preview
options: >-
--health-cmd "curl --fail http://localhost:8081 || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps: steps:
- name: Install Dependencies - name: Install Dependencies
run: npm install @unlighthouse/cli puppeteer run: npm install @unlighthouse/cli puppeteer
- name: Run unlighthouse - name: Run unlighthouse
run: node_modules/.bin/unlighthouse-ci --site "http://firqdevwebsite:8081" run: node_modules/.bin/unlighthouse-ci --site "https://preview.firq.dev/"
- name: Upload reports - name: Upload reports
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View file

@ -46,7 +46,7 @@ const fulllink = `/${slug}`
color: white; color: white;
text-decoration: none; text-decoration: none;
justify-content: center; justify-content: center;
align-items: flex-end; align-items: center;
font-size: 1.4em; font-size: 1.4em;
height: 100%; height: 100%;
font-weight: bold; font-weight: bold;