Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas HIMPENS committed Jun 10, 2024
1 parent b366680 commit 4df85f6
Show file tree
Hide file tree
Showing 14 changed files with 34,069 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }} #les workflow permissions qu’on a activé
publish_dir: ./src #fichiers qu’on va publier sur le serveur
- name: Install necessary packages
    run: npm install

- name: Run Lighthouse CI
uses: treosh/lighthouse-ci-action@v11
with:
urls: |
https://lucashimpens.io/jftl-lighthouse-workshop/
configPath: './lighthouserc.js'
temporaryPublicStorage: true # upload lighthouse report to the temporary storage

18 changes: 18 additions & 0 deletions .lighthouseci/assertion-results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"name": "minScore",
"expected": 0.9,
"actual": 0.45,
"values": [
0.45,
0.45,
0.45
],
"operator": ">=",
"passed": false,
"auditProperty": "accessibility",
"auditId": "categories",
"level": "error",
"url": "https://lucashimpens.github.io/jftl-lighthouse-workshop/"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"chromeFlags":" --headless=new"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"chromeFlags":" --headless=new"}
2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1718029858827.html

Large diffs are not rendered by default.

7,259 changes: 7,259 additions & 0 deletions .lighthouseci/lhr-1718029858827.json

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1718029876113.html

Large diffs are not rendered by default.

7,136 changes: 7,136 additions & 0 deletions .lighthouseci/lhr-1718029876113.json

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions .lighthouseci/lhr-1718029889670.html

Large diffs are not rendered by default.

7,186 changes: 7,186 additions & 0 deletions .lighthouseci/lhr-1718029889670.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .lighthouseci/links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"https://lucashimpens.github.io/jftl-lighthouse-workshop/": "https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1718029895141-50001.report.html"
}
19 changes: 19 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
ci: {
collect: {
//url: ['http://127.0.0.1:8080'],
url: ['https://lucashimpens.github.io/jftl-lighthouse-workshop/'],
},
assert: {
assertions: {
'categories:accessibility': ['error', {'minScore': 0.9}]
}
},
upload: {
target: 'temporary-public-storage',
},

},

};

Loading

0 comments on commit 4df85f6

Please sign in to comment.