Skip to content

Commit

Permalink
Tests: Backport test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Oct 3, 2024
1 parent c205948 commit 649cb43
Show file tree
Hide file tree
Showing 15 changed files with 8,482 additions and 12,505 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v1
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/boomerang-1.0.0.min.js,build/plugins/*.js}'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- run: npm ci --no-audit --prefer-offline
- uses: a-b-r-o-w-n/eslint-action@v1
- uses: a-b-r-o-w-n/eslint-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
files: '**/*.js'
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12
2 changes: 1 addition & 1 deletion boomerang.js
Original file line number Diff line number Diff line change
Expand Up @@ -4985,7 +4985,7 @@ BOOMR_check_doc_domain();
// check if there was an activation via NavigationTiming
var p = BOOMR.getPerformance();

if (p) {
if (p && typeof p.getEntriesByType === "function") {
// get the navigation entry
var navEntry = p.getEntriesByType("navigation")[0];

Expand Down
2 changes: 1 addition & 1 deletion doc/version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

### Bug Fixes

* Issue 1190: SPA: Only append OriginTrails if document.head.append is available
* Issue 1190: SPA: Only append OriginTrials if document.head.append is available
* Issue 1189: BW: Change default HTTPS behaviour of bandwidth test to "run"
* Issue 1187: BFCache: Set Page Dimensions: Page Group, AB, Custom Dimensions
* Issue 1185: Continuity: Ignore errors from Battery API
Expand Down
Loading

0 comments on commit 649cb43

Please sign in to comment.