Skip to content

Commit

Permalink
ci: add debug logging to electron
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed May 4, 2021
1 parent 3816111 commit a692964
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/pr-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ jobs:
node-version: 14.x

- name: Checkout base branch
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
ref: ${{ github.base_ref }}
ref: 8f5d56d468b9f81e515eec7e12dd7b520b939de4
token: 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
repository: bugsnag/bugsnag-js

- name: (Act) install build tools and dependencies
run: |
sudo apt-get --assume-yes update
sudo apt-get --assume-yes install build-essential xvfb libnss3 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libasound2 libgbm1
- name: Record before stats
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
ELECTRON_DISABLE_SANDBOX: 1
ELECTRON_ENABLE_LOGGING: 1
DISPLAY: ':0'
run: |
mkdir .diff
npm ci
Expand Down Expand Up @@ -47,8 +55,3 @@ jobs:
cat packages/browser/dist/bugsnag.min.js | wc -c > .diff/size-after-minified
cat packages/browser/dist/bugsnag.min.js | gzip | wc -c > .diff/size-after-gzipped
cp coverage/coverage-summary.json .diff/coverage-after.json
- name: Run danger
uses: danger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a692964

Please sign in to comment.