This commit is contained in:
parent
dfd29ddc94
commit
316e7c336b
1 changed files with 2 additions and 10 deletions
|
@ -10,19 +10,11 @@ jobs:
|
||||||
firqdevwebsite:
|
firqdevwebsite:
|
||||||
image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||||
container: node:20-bookworm
|
container: node:20-bookworm
|
||||||
steps:
|
steps: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
|
||||||
- name: Deps
|
|
||||||
run: apt-get -y update; apt-get -y install curl
|
|
||||||
- name: Test
|
|
||||||
run: curl http://firqdevwebsite/ || true
|
|
||||||
- name: Test 2
|
|
||||||
run: curl http://127.0.0.1:8081/ || true
|
|
||||||
- name: docker test
|
|
||||||
run: docker network ls
|
|
||||||
- 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 "website"
|
run: node_modules/.bin/unlighthouse-ci --site "firqdevwebsite:8081"
|
||||||
- name: Upload reports
|
- name: Upload reports
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue