Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(build): report to buildtracker on commit via ghactions #10550

Merged
merged 16 commits into from
Apr 14, 2020
6 changes: 6 additions & 0 deletions .github/workflows/basics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ jobs:
- run: yarn lint
- run: yarn unit-core
- run: yarn tsc -p .

- name: Store in buildtracker
run: yarn bt-cli upload-build
env:
# https://buildtracker.dev/docs/guides/github-actions#configuration
BT_API_AUTH_TOKEN: ${{ secrets.BT_API_AUTH_TOKEN }}
16 changes: 16 additions & 0 deletions build-tracker.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// https://buildtracker.dev/docs/installation/#upload-your-builds

'use strict';

module.exports = {
applicationUrl: 'https://lh-build-tracker.herokuapp.com',
artifacts: [
'dist/lightrider/lighthouse-lr-bundle.js',
'dist/extension/scripts/lighthouse-ext-bundle.js',
'dist/lighthouse-dt-bundle.js',
'dist/viewer/src/viewer.js',
'dist/lightrider/report-generator-bundle.js',
'dist/dt-report-resources/report.js',
'dist/dt-report-resources/report-generator.js',
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"static-server": "node lighthouse-cli/test/fixtures/static-server.js"
},
"devDependencies": {
"@build-tracker/cli": "^1.0.0-beta.14",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. i actually asked him to publish that one. :)
it fixed the slow responsiveness of the hoverline on https://lh-build-tracker.herokuapp.com/

"@firebase/app-types": "0.3.1",
"@firebase/auth-types": "0.3.2",
"@firebase/util": "0.2.1",
Expand Down
Loading