-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} |