Skip to content

Commit

Permalink
Add CI CD stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
parpok committed Sep 13, 2023
1 parent 59b0a54 commit 867a68a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/Lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lighthouse
on: [push]
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: npm install, build
run: |
# npm install
# npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun
10 changes: 10 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
ci: {
collect: {
staticDistDir: './',
},
upload: {
target: 'temporary-public-storage',
},
},
};

0 comments on commit 867a68a

Please sign in to comment.