sitespeed.io 22.0.0 → 22.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ name: Build autobuild container that runs tests on dashboard.sitespeed.io
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ jobs:
7
+ docker:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ -
11
+ name: Set up QEMU
12
+ uses: docker/setup-qemu-action@v1
13
+ -
14
+ name: Set up Docker Buildx
15
+ uses: docker/setup-buildx-action@v1
16
+ -
17
+ name: Login to DockerHub
18
+ uses: docker/login-action@v1
19
+ with:
20
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
22
+ -
23
+ name: Build and push sitespeed.io
24
+ uses: docker/build-push-action@v2
25
+ with:
26
+ platforms: linux/amd64
27
+ push: true
28
+ tags: sitespeedio/sitespeed.io-autobuild:main
@@ -0,0 +1,61 @@
1
+ name: Build Docker containers on new tag
2
+ on:
3
+ push:
4
+ tags:
5
+ - 'v*.*.*'
6
+ jobs:
7
+ docker:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ -
11
+ name: Set up QEMU
12
+ uses: docker/setup-qemu-action@v1
13
+ -
14
+ name: Set up Docker Buildx
15
+ uses: docker/setup-buildx-action@v1
16
+ -
17
+ name: Login to DockerHub
18
+ uses: docker/login-action@v1
19
+ with:
20
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
22
+ -
23
+ name: Get the tag
24
+ id: tag
25
+ uses: dawidd6/action-get-tag@v1
26
+ with:
27
+ strip_v: true
28
+ -
29
+ name: Build and push sitespeed.io
30
+ uses: docker/build-push-action@v2
31
+ with:
32
+ platforms: linux/amd64,linux/arm64
33
+ push: true
34
+ tags: sitespeedio/sitespeed.io:${{steps.tag.outputs.tag}},sitespeedio/sitespeed.io:latest
35
+ -
36
+ name: Build and push sitespeed.io-slim
37
+ uses: docker/build-push-action@v2
38
+ with:
39
+ platforms: linux/amd64,linux/arm64
40
+ file: ./Dockerfile-slim
41
+ build-args: version=${{steps.tag.outputs.tag}}
42
+ push: true
43
+ tags: sitespeedio/sitespeed.io:${{steps.tag.outputs.tag}}-slim
44
+ -
45
+ name: Build and push sitespeed.io+1
46
+ uses: docker/build-push-action@v2
47
+ with:
48
+ platforms: linux/amd64,linux/arm64
49
+ file: ./docker/Dockerfile-plus1
50
+ build-args: version=${{steps.tag.outputs.tag}}
51
+ push: true
52
+ tags: sitespeedio/sitespeed.io:${{steps.tag.outputs.tag}}-plus1
53
+ -
54
+ name: Build and push sitespeed.io+wpt
55
+ uses: docker/build-push-action@v2
56
+ with:
57
+ platforms: linux/amd64,linux/arm64
58
+ file: ./docker/Dockerfile-webpagetest
59
+ build-args: version=${{steps.tag.outputs.tag}}
60
+ push: true
61
+ tags: sitespeedio/sitespeed.io:${{steps.tag.outputs.tag}}-webpagetest
@@ -14,7 +14,7 @@ jobs:
14
14
  - name: Use Node.js
15
15
  uses: actions/setup-node@v1
16
16
  with:
17
- node-version: '14.x'
17
+ node-version: '16.x'
18
18
  - name: Install sitespeed.io
19
19
  run: npm ci
20
20
  - name: Install Chrome
@@ -14,7 +14,7 @@ jobs:
14
14
  - name: Use Node.js
15
15
  uses: actions/setup-node@v1
16
16
  with:
17
- node-version: '14.x'
17
+ node-version: '16.x'
18
18
  - name: Install dependencies
19
19
  run: |
20
20
  sudo safaridriver --enable
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- node-version: [12.x, 14.x, 16.x]
14
+ node-version: [14.x, 16.x]
15
15
  steps:
16
16
  - uses: actions/checkout@v2
17
17
  - name: Use Node.js ${{ matrix.node-version }}
@@ -14,7 +14,7 @@ jobs:
14
14
  - name: Use Node.js
15
15
  uses: actions/setup-node@v1
16
16
  with:
17
- node-version: '14.x'
17
+ node-version: '16.x'
18
18
  - name: Install sitespeed.io
19
19
  run: npm ci
20
20
  env:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+ ## 22.1.0 - 2022-02-08
4
+ ### Added
5
+ * Upgraded to latest Browsertime with Egdedriver 98.
6
+ * Upgraded to Edge 98 and Firefox 97 in the (amd64) Docker containers.
3
7
  ## 22.0.0 - 2022-02-07
4
8
 
5
9
  ### Breaking changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-98.0-firefox-94.0-edge-97.0-multi
1
+ FROM sitespeedio/webbrowsers:chrome-98.0-firefox-97.0-edge-98.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
package/Dockerfile-slim CHANGED
@@ -8,7 +8,7 @@ ENV SITESPEED_IO_BROWSERTIME__BROWSER firefox
8
8
  ENV SITESPEED_IO_BROWSERTIME__VISUAL_METRICS false
9
9
  ENV SITESPEED_IO_BROWSERTIME__HEADLESS true
10
10
 
11
- ENV FIREFOX_VERSION 94.0
11
+ ENV FIREFOX_VERSION 97.0
12
12
 
13
13
  ENV PATH="/usr/local/bin:${PATH}"
14
14
 
package/README.md CHANGED
@@ -21,13 +21,13 @@
21
21
  Before we start telling you all about sitespeed.io you should just try it out:
22
22
 
23
23
  ```bash
24
- $ docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io/
24
+ docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io/
25
25
  ```
26
26
 
27
27
  Or using npm (you need Chrome, Firefox, Edge or Safari installed or Chrome/Firefox on Android)
28
28
 
29
29
  ```bash
30
- $ npm i -g sitespeed.io && sitespeed.io https://www.sitespeed.io/
30
+ npm i -g sitespeed.io && sitespeed.io https://www.sitespeed.io/
31
31
  ```
32
32
 
33
33
  Ok, now you have tried it, let us tell you more about sitespeed.io. We think of a complete web performance tool as having three key capabilities:
@@ -74,23 +74,23 @@ When you as user choose to test a URL, this is what happens on a high level:
74
74
  Using Docker (use latest Docker):
75
75
 
76
76
  ```bash
77
- $ docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io/
77
+ docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io/
78
78
  ```
79
79
 
80
80
  Or install using npm:
81
81
 
82
82
  ```bash
83
- $ npm i -g sitespeed.io
83
+ npm i -g sitespeed.io
84
84
  ```
85
85
 
86
86
  Or clone the repo and test the latest changes:
87
87
 
88
88
  ```bash
89
- $ git clone https://github.com/sitespeedio/sitespeed.io.git
90
- $ cd sitespeed.io
91
- $ npm install
92
- $ bin/sitespeed.js --help
93
- $ bin/sitespeed.js https://www.sitespeed.io/
89
+ git clone https://github.com/sitespeedio/sitespeed.io.git
90
+ cd sitespeed.io
91
+ npm install
92
+ bin/sitespeed.js --help
93
+ bin/sitespeed.js https://www.sitespeed.io/
94
94
  ```
95
95
 
96
96
  ## More details
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "22.0.0",
3
+ "version": "22.1.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "22.0.0",
9
+ "version": "22.1.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/storage": "5.8.3",
13
13
  "@tgwf/co2": "0.8.0",
14
14
  "aws-sdk": "2.882.0",
15
15
  "axe-core": "4.3.5",
16
- "browsertime": "14.19.2",
16
+ "browsertime": "14.21.0",
17
17
  "cli-color": "2.0.0",
18
18
  "coach-core": "7.1.0",
19
19
  "concurrent-queue": "7.0.2",
@@ -920,9 +920,9 @@
920
920
  }
921
921
  },
922
922
  "node_modules/@sitespeed.io/edgedriver": {
923
- "version": "95.0.1020-30",
924
- "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-95.0.1020-30.tgz",
925
- "integrity": "sha512-5hXxNCtbX/SeG6nsyXg4QWIEKacxBJTO5T43rUXlTrUlecFfvHNhTVY5PE2bwpKcdPQ168Vp0S/+g55QJi9s/Q==",
923
+ "version": "98.0.1108-43",
924
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-98.0.1108-43.tgz",
925
+ "integrity": "sha512-QCj6L98CE42DvTXheQCaede3Ple/KXpjL0YghhXcwN+rD03T9/50Wy5PPeNt1UGVSUTc+DAdx0lY1n4U0hWpAg==",
926
926
  "hasInstallScript": true,
927
927
  "dependencies": {
928
928
  "node-downloader-helper": "1.0.18",
@@ -1465,14 +1465,14 @@
1465
1465
  }
1466
1466
  },
1467
1467
  "node_modules/browsertime": {
1468
- "version": "14.19.2",
1469
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.19.2.tgz",
1470
- "integrity": "sha512-2+HBF6Mn/DytKSG9+uHOc1s9HJ0osfXQfcl9nDAaTPK90wrkxob1KYko/m/6SdiH6Vm6+5eaFkDRxDhalg/PAA==",
1468
+ "version": "14.21.0",
1469
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.21.0.tgz",
1470
+ "integrity": "sha512-m7kGoehzNmargpEgHYbV5gggBWU+f+8gr2N+4M04dU10/y9ZsQF9mct1QaPE6GNZWpqy77HQFcR1PwQy8pFVqg==",
1471
1471
  "dependencies": {
1472
1472
  "@cypress/xvfb": "1.2.4",
1473
1473
  "@devicefarmer/adbkit": "2.11.3",
1474
1474
  "@sitespeed.io/chromedriver": "98.0.4758-48b",
1475
- "@sitespeed.io/edgedriver": "95.0.1020-30",
1475
+ "@sitespeed.io/edgedriver": "98.0.1108-43",
1476
1476
  "@sitespeed.io/geckodriver": "0.30.0",
1477
1477
  "@sitespeed.io/throttle": "3.0.0",
1478
1478
  "@sitespeed.io/tracium": "0.3.3",
@@ -8189,9 +8189,9 @@
8189
8189
  }
8190
8190
  },
8191
8191
  "@sitespeed.io/edgedriver": {
8192
- "version": "95.0.1020-30",
8193
- "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-95.0.1020-30.tgz",
8194
- "integrity": "sha512-5hXxNCtbX/SeG6nsyXg4QWIEKacxBJTO5T43rUXlTrUlecFfvHNhTVY5PE2bwpKcdPQ168Vp0S/+g55QJi9s/Q==",
8192
+ "version": "98.0.1108-43",
8193
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-98.0.1108-43.tgz",
8194
+ "integrity": "sha512-QCj6L98CE42DvTXheQCaede3Ple/KXpjL0YghhXcwN+rD03T9/50Wy5PPeNt1UGVSUTc+DAdx0lY1n4U0hWpAg==",
8195
8195
  "requires": {
8196
8196
  "node-downloader-helper": "1.0.18",
8197
8197
  "node-stream-zip": "1.15.0"
@@ -8631,14 +8631,14 @@
8631
8631
  }
8632
8632
  },
8633
8633
  "browsertime": {
8634
- "version": "14.19.2",
8635
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.19.2.tgz",
8636
- "integrity": "sha512-2+HBF6Mn/DytKSG9+uHOc1s9HJ0osfXQfcl9nDAaTPK90wrkxob1KYko/m/6SdiH6Vm6+5eaFkDRxDhalg/PAA==",
8634
+ "version": "14.21.0",
8635
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.21.0.tgz",
8636
+ "integrity": "sha512-m7kGoehzNmargpEgHYbV5gggBWU+f+8gr2N+4M04dU10/y9ZsQF9mct1QaPE6GNZWpqy77HQFcR1PwQy8pFVqg==",
8637
8637
  "requires": {
8638
8638
  "@cypress/xvfb": "1.2.4",
8639
8639
  "@devicefarmer/adbkit": "2.11.3",
8640
8640
  "@sitespeed.io/chromedriver": "98.0.4758-48b",
8641
- "@sitespeed.io/edgedriver": "95.0.1020-30",
8641
+ "@sitespeed.io/edgedriver": "98.0.1108-43",
8642
8642
  "@sitespeed.io/geckodriver": "0.30.0",
8643
8643
  "@sitespeed.io/throttle": "3.0.0",
8644
8644
  "@sitespeed.io/tracium": "0.3.3",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "sitespeed.io": "./bin/sitespeed.js",
5
5
  "sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
6
6
  },
7
- "version": "22.0.0",
7
+ "version": "22.1.0",
8
8
  "description": "Analyze the web performance of your site",
9
9
  "keywords": [
10
10
  "performance",
@@ -74,7 +74,7 @@
74
74
  "@tgwf/co2": "0.8.0",
75
75
  "aws-sdk": "2.882.0",
76
76
  "axe-core": "4.3.5",
77
- "browsertime": "14.19.2",
77
+ "browsertime": "14.21.0",
78
78
  "coach-core": "7.1.0",
79
79
  "cli-color": "2.0.0",
80
80
  "concurrent-queue": "7.0.2",
package/release.sh CHANGED
@@ -4,25 +4,12 @@ set -e
4
4
  # Remove the local sitespeed-result dir and node modules to start clean
5
5
  rm -fR sitespeed-result
6
6
 
7
- # Login early
8
- docker login
9
-
10
7
  # Super simple release script for sitespeed.io
11
8
  # Lets use it it for now and make it better over time :)
12
9
  # You need np for this to work
13
10
  # npm install --global np
14
11
  np $* --no-yarn --branch main
15
12
 
16
- PACKAGE_VERSION=$(node -e 'console.log(require("./package").version)')
17
-
18
- docker buildx build --push --platform linux/arm64,linux/amd64 --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION -t sitespeedio/sitespeed.io:latest .
19
-
20
- docker buildx build --push --platform linux/arm64,linux/amd64 --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-slim --file Dockerfile-slim .
21
-
22
- docker buildx build --push --platform linux/arm64,linux/amd64 -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-plus1 --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-plus1 .
23
-
24
- docker buildx build --push --platform linux/arm64,linux/amd64 -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-webpagetest --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-webpagetest .
25
-
26
13
  # Update to latest version in the docs
27
14
  bin/sitespeed.js --version | tr -d '\n' > docs/_includes/version/sitespeed.io.txt
28
15