Skip to content

Commit

Permalink
WIP6
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathew1011 committed Feb 27, 2021
1 parent 6bd2c06 commit f0cb2a6
Show file tree
Hide file tree
Showing 9 changed files with 7,580 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: "Lighthouse Report"
run: |
xvfb-run --auto-servernum npm run test:audit
pwd && ls -altr && cd target/gh-pages && ls -altr && cd audit && ls -altr && cd assets && ls -altr
pwd && ls -altr && cd src/main/resources/ && ls -altr && cd gh-pages/ && ls -altr && cd audit/assets/ && ls -altr
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ package-lock.json

.lighthouseci/

audit/
2 changes: 2 additions & 0 deletions scripts/build-cap-lighthouse-badges.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const createGhPagesDir = () => {
const ghAssetsPath = `${ghAuditPath}/assets`;
const targetGhPagesPath = `${targetPath}/gh-pages`;
fs.ensureDir(ghPagesPath);
fs.ensureDir(ghAuditPath);
fs.ensureDir(ghAssetsPath);
fs.ensureDir(targetPath);

fs.copy(`${targetPath}/generated-docs/`, `${targetGhPagesPath}/api-docs/`, err => {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/gh-pages/audit/assets/accessibility.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/main/resources/gh-pages/audit/assets/performance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/main/resources/gh-pages/audit/assets/pwa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/main/resources/gh-pages/audit/assets/seo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f0cb2a6

Please sign in to comment.