Commit Graph

311 Commits

Author SHA1 Message Date
Alex Rudenko
6f37eed91b
chore: add id-token permissions to scorecard-action (#8971)
See ossf/scorecard-action#900

Example failure with scorecard-action@2 https://github.com/puppeteer/puppeteer/actions/runs/3066712334/jobs/4952194627
2022-09-19 06:24:16 +00:00
Alex Rudenko
58c6eab429
chore: remove increase swap action (#8970)
Now that we generate only a single version and use swc
we should not need increased swap space.
2022-09-16 09:55:20 +00:00
dependabot[bot]
5a10de422a
chore(deps): bump ossf/scorecard-action from 1.1.2 to 2.0.3 (#8949)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.2 to 2.0.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ce330fde6b...865b409285)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 09:10:39 +00:00
dependabot[bot]
66d9c9521d
chore(deps): bump github/codeql-action from 2.1.21 to 2.1.23 (#8967)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.21 to 2.1.23.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f292ea4f...6a38b7d4a1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 10:48:17 +02:00
Alex Rudenko
8d5097d7f6
chore: split CI jobs to run in parallel (#8934) 2022-09-15 05:59:11 +00:00
Alex Rudenko
d8830cbc55
chore: implement a test runner on top of mocha (#8866)
* chore: implement a test runner on top of mocha

This PR implements a test runner on top of mocha
that performs multiple mocha runs as defined in
TestSuites.json and compares the outcome of the runs
against TestExpectations.json. This allows us to
remove most of helpers from mocha-utils and be more
flexible when defining the test configurations.
2022-09-08 10:32:39 +00:00
Alex Rudenko
2134d975df
chore: re-build docs after versioning in pre-release (#8899) 2022-09-05 10:03:10 +00:00
Alex Rudenko
f57dde1c5b
chore: fix builds in CI (#8877) 2022-09-01 12:43:26 +00:00
Alex Rudenko
4d2ec85cad
chore: fix ToT CI (#8876) 2022-09-01 12:02:53 +00:00
dependabot[bot]
3eb4c2d2e0
chore(deps): bump github/codeql-action from 2.1.18 to 2.1.21 (#8849)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.21.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2ca79b6fa8...c7f292ea4f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 12:42:56 +02:00
jrandolf
ae4c5ea031
chore: refactor build commands (#8874) 2022-09-01 01:05:20 +02:00
jrandolf
3499e1292e
chore: generate version on pre-publish (#8872) 2022-08-31 17:21:25 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation (#8864) 2022-08-31 14:42:53 +02:00
jrandolf
02e1eea7eb
chore: use tsx (#8803) 2022-08-17 15:32:57 +02:00
jrandolf
bdcb748b98
chore: infrastructure for injecting scripts into DOMWorlds (#8801) 2022-08-17 14:39:41 +02:00
dependabot[bot]
def2687235
chore(deps): bump docker/build-push-action from 2.5.0 to 3.1.1 (#8785)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.5.0 to 3.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](ad44023a93...c84f382811)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 15:52:52 +02:00
dependabot[bot]
608dc6c408
chore(deps): bump github/codeql-action from 2.1.17 to 2.1.18 (#8779)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.17 to 2.1.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0c670bbf04...2ca79b6fa8)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 13:30:39 +00:00
dependabot[bot]
bafe2ca76b
chore(deps): bump docker/metadata-action from 3.3.0 to 4.0.1 (#8719)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.3.0 to 4.0.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](98669ae865...69f6fc9d46)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 13:06:18 +00:00
dependabot[bot]
833cdc02f3
chore(deps): bump docker/login-action from 1.10.0 to 2 (#8720)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f054a8b539...49ed152c8e)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 12:38:55 +00:00
Alex Rudenko
73221042db
chore: follow test:$browser[:$flavor] naming for tests + retries for Firefox (#8775) 2022-08-11 18:45:52 +00:00
Alex Rudenko
50bcff2ec2
chore: remove old website versions and point to md docs instead (#8757) 2022-08-09 11:13:05 +00:00
Alex Rudenko
9588072a28
chore: try increasing swap size for website generator (#8745) 2022-08-06 14:59:47 +02:00
Alex Rudenko
26f6165008
chore: configure docker image tags (#8738) 2022-08-03 17:59:59 +02:00
Alex Rudenko
6c777e4d70
chore: fix docker permissions (#8737) 2022-08-03 16:01:46 +02:00
Alex Rudenko
ce5d296073
chore: add docker publishing permissions (#8736) 2022-08-03 11:36:09 +00:00
Alex Rudenko
7d75b54b6e
chore: move Docker publishing into a separate workflow (#8731)
it looks like the docker publishing steps had an error
that prevented the entire workflow for running. Let's
extract the docker pubishing into a separate workflow until
we are sure it's stable.
2022-08-03 06:26:56 +02:00
Alex Rudenko
1f89724b64 chore: increase max-old-space-size for docs (#8721) 2022-08-02 13:18:51 +00:00
Alex Rudenko
fae4fa5915 chore: publish a Docker image (#8702)
This PR adds publishing of a Docker image to ghcr.io.
2022-08-02 13:18:50 +00:00
dependabot[bot]
6b35128e3e chore(deps): bump github/codeql-action from 2.1.12 to 2.1.17 (#8709)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.12 to 2.1.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](27ea8f8fe5...0c670bbf04)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 13:18:50 +00:00
dependabot[bot]
e237ba0f2e chore(deps): bump actions/setup-node from 3.3.0 to 3.4.1 (#8671)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.3.0...v3.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 13:18:48 +00:00
Alex Rudenko
9bd7d38579 chore: fix command name in tot-ci.yml (#8698) 2022-08-02 13:18:47 +00:00
Alex Rudenko
936ed8607e feat: add Dockerfile (#8315)
This PR adds an official Dockerfile for Puppeteer. The content of the Dockerfile is practically the same as documented in troubleshooting.md:

1) It installs chrome-stable and dependencies via apt-get.
2) it installs a local Puppeteer build into the docker user's home folder.
3) configures required permissions for the user.
4) outputs licenses into the THIRD_PARTY_NOTICES file.

The local Puppeteer build is created by `docker/pack.sh` which is meant to be used in CI. This PR also includes a GitHub action that would build a docker image and run a smote test inside of it.

The next step would be actually publishing the docker image from GitHub Actions to GitHub Registry.
2022-08-02 13:18:47 +00:00
Alex Rudenko
3d780a3f08
chore: fix ToT test jobs (#8679) 2022-07-21 10:12:23 +02:00
Alex Rudenko
c801ce1c7b
chore: try to fix the docusaurus build by giving Node more old mem space (#8675) 2022-07-20 11:18:02 +02:00
jrandolf
4cd97e93f9
chore: format on pre-release (#8634) 2022-07-06 09:15:12 +02:00
jrandolf
b49d530d73
chore: continue-on-error for non-Linux tests (#8632) 2022-07-06 08:23:39 +02:00
jrandolf
9e596d0761
chore: format code (#8628)
* chore: format code
2022-07-05 15:06:10 +02:00
jrandolf
fc77c1517f
chore: fetch 2 levels of commits on doc check (#8625) 2022-07-05 11:04:46 +02:00
jrandolf
6b2b421b7d
chore: use github.ref (#8618) 2022-07-01 19:09:43 +02:00
jrandolf
c1d57f3e5f
chore: fix bad revision (#8617) 2022-07-01 16:55:12 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md (#8616) 2022-07-01 16:29:21 +02:00
jrandolf
9fa96600f2
chore: update CI (#8614) 2022-07-01 16:00:27 +02:00
jrandolf
8cf10fb7b9
chore: Improve CI (#8601) 2022-07-01 15:03:12 +02:00
jrandolf
066f440ba7
feat: add documentation (#8593) 2022-07-01 11:52:39 +00:00
Randolf J
d8e453b98c chore: skip PR and push to main in post-publish 2022-06-29 14:11:59 +02:00
dependabot[bot]
7a22f95fe7
chore(deps): bump ossf/scorecard-action from 1.1.1 to 1.1.2 (#8592)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](3e15ea8318...ce330fde6b)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 14:56:29 +02:00
Alex Rudenko
329195011f
chore: fix chrome-headless ci (#8560) 2022-06-27 12:35:09 +02:00
jrandolf
e499515fd6
chore: add type tests (#8588) 2022-06-27 10:57:31 +02:00
jrandolf
da269c3f32
chore: add stale bot (#8554) 2022-06-23 10:28:07 +02:00
jrandolf
988aeabfb2
chore: remove type tests (#8550) 2022-06-23 10:02:52 +02:00
Randolf J
b007ee4f50 chore: run CI on any PR branch 2022-06-23 09:12:51 +02:00
Randolf J
f9586b1226 chore: use PAT for release 2022-06-20 09:28:36 +02:00
Randolf J
f0c17378a0 chore: run only unit tests with coverage in CI
This will verify coverage and unit tests without duplicating unit runs.
2022-06-15 12:48:20 +02:00
Randolf J
8dc53d5157 chore: disable workflow_dispatch publishing 2022-06-13 23:14:42 +02:00
Randolf J
ba67518f6b chore: enable workflow_dispatch publishing 2022-06-13 23:13:24 +02:00
jrandolf
733cbecf48
chore: use c8 coverage (#8495) 2022-06-10 18:49:14 +02:00
Alex Rudenko
8dbb4f3153
chore: run different ToT jobs in parallel (#8502) 2022-06-10 12:42:29 +02:00
jrandolf
75c3f94a54
chore: namespace commands (#8494) 2022-06-10 11:55:53 +02:00
Randolf J
c712f45209 chore: use release-please[bot] as committer 2022-06-07 16:31:16 +02:00
Randolf J
2dd0d42d41 chore: require publish before post-publish 2022-06-07 16:26:44 +02:00
Randolf J
96b416c3b9 chore: add pull-requests: write perm on publish 2022-06-07 15:28:57 +02:00
dependabot[bot]
328c3f5b08
chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0 (#8478)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 14:37:49 +02:00
dependabot[bot]
eb7cd717ed
chore(deps): bump peter-evans/create-pull-request from 3 to 4 (#8467)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 15:41:05 +02:00
Randolf J
dac3e65533 chore: use PRs for post-publish 2022-06-02 14:37:15 +02:00
dependabot[bot]
802ad9ee2a
chore(deps): bump ossf/scorecard-action from 1.0.4 to 1.1.1 (#8458)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.0.4 to 1.1.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](c1aec4ac82...3e15ea8318)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 13:58:27 +02:00
dependabot[bot]
0451d175dd
chore(deps): bump github/codeql-action from 2.1.10 to 2.1.12 (#8461)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.10 to 2.1.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2f58583a1b...27ea8f8fe5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 13:57:42 +02:00
Alex Rudenko
da77bcd635
chore: use dependabot for prod deps only (#8459) 2022-06-02 13:28:30 +02:00
Randolf J
a92c71d188 chore: use release title for prereq 2022-06-01 16:13:11 +02:00
Randolf J
592745cdf2 chore: skip verification on push 2022-06-01 16:02:06 +02:00
Randolf J
1f242f1e3c chore: use single quotes in yaml 2022-06-01 15:59:20 +02:00
Randolf J
fd8493ad53 chore: use deploy key for pre-release 2022-06-01 15:49:41 +02:00
Randolf J
d2a0ea34a3 chore: add permissions to pre-release flow 2022-06-01 15:32:07 +02:00
jrandolf
f2d8276d6e
feat: support node 18 (#8447) 2022-06-01 13:53:17 +02:00
Randolf Jung
9dc9a9477c chore: use amend for pre-release 2022-06-01 13:16:44 +02:00
Randolf Jung
d54c3ad250 chore: disable node 18 linux check 2022-05-31 18:32:49 +02:00
Randolf Jung
0502395624 chore: add node 18 to CI 2022-05-31 16:55:40 +02:00
dependabot[bot]
f67bfb7a6c
chore(deps): bump actions/upload-artifact from 3.0.0 to 3.1.0 (#8396)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6673cd052c...3cea537223)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 15:52:18 +02:00
Randolf Jung
7d1557a3cc chore: fix post-publish checkout ref 2022-05-31 15:39:54 +02:00
Randolf Jung
bc1326f16e chore: build main docs after publishing 2022-05-31 15:38:34 +02:00
Randolf Jung
47c4f51ac7 chore: use normal push for pre-release 2022-05-31 15:24:23 +02:00
Randolf Jung
f332371325 chore: use v2 checkout for pre-release 2022-05-31 15:18:20 +02:00
Randolf Jung
d5139b58ec chore: checkout current ref during pre-release 2022-05-31 15:11:24 +02:00
Randolf Jung
0ec036a59f chore: format actions 2022-05-31 14:57:47 +02:00
Randolf Jung
4ba9950cc5 chore: rename actions 2022-05-31 14:56:44 +02:00
Randolf Jung
3a41cd7f32 chore: add email and name to pre-release action 2022-05-31 14:49:26 +02:00
Randolf Jung
69e4e141b4 chore: rename pre-release action 2022-05-31 14:43:46 +02:00
Randolf Jung
9c852cedbe chore: amend version freezes on release-please PRs 2022-05-31 14:41:22 +02:00
jrandolf
d111d19f78
fix: process documentation during publishing (#8433) 2022-05-30 21:50:34 +02:00
jrandolf
d422e12af8
chore: checkout main during post-publish (#8432) 2022-05-30 15:15:54 +00:00
jrandolf
c7aa07e43f
chore: set release to manifest (#8421) 2022-05-30 13:20:26 +02:00
jrandolf
6e705f9736
chore: use concurrency for Github actions (#8413) 2022-05-30 11:49:19 +02:00
jrandolf
be26137041
chore: use release-please app (#8412) 2022-05-30 11:47:15 +02:00
jrandolf
5c235c701f
fix: fix release-please bot (#8400) 2022-05-30 08:06:26 +02:00
dependabot[bot]
a8a08a8441
chore(deps): bump actions/setup-node from 3.1.1 to 3.2.0 (#8357)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 08:00:11 +00:00
dependabot[bot]
19bb407d4c
chore(deps): bump github/codeql-action (#8340)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 75b4f1c4669133dc294b06c2794e969efa2e5316 to 2.1.10. This release includes the previously tagged commit.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](75b4f1c466...2f58583a1b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 05:31:37 +00:00
jrandolf
1ae3da6064
chore: use release-please workflow (#8375) 2022-05-19 16:14:47 +00:00
jrandolf
2ef3a386de
fix: configure git for release workflow (#8372) 2022-05-19 15:13:16 +02:00
Alex Rudenko
b4294b2766
Revert "chore: continue on error for Firefox tests (#8368)" (#8371)
This reverts commit bfead976f1.
2022-05-19 13:00:46 +00:00
jrandolf
b8c77ad3d7
fix: install before release in release workflow (#8370) 2022-05-19 12:39:13 +00:00
jrandolf
f5f8d16947
chore: automate tag on release (#8366) 2022-05-19 11:26:42 +00:00
jrandolf
b2e82eece6
fix: fix permissions attribute in workflow (#8367) 2022-05-19 12:51:18 +02:00
jrandolf
c7f6b856ab
chore: automate post-release
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-05-19 08:49:58 +00:00
Alex Rudenko
bfead976f1
chore: continue on error for Firefox tests (#8368) 2022-05-19 09:17:56 +02:00
jrandolf
10537d8163
chore: automate release PR creation 2022-05-18 16:06:58 +00:00
Alex Rudenko
785abf455a
chore: add retries to linux-tot-checks (#8347) 2022-05-13 15:54:09 +02:00
Alex Rudenko
cec8ff5e40
chore: fix ToT checks workflow (#8346) 2022-05-13 14:48:01 +02:00
Alex Rudenko
2af8888d51
chore: add workflow_dispatch for the ToT jobs (#8345) 2022-05-13 14:42:20 +02:00
Alex Rudenko
eec2bf882b
chore: set up daily jobs for latest Chromium builds (#8344) 2022-05-13 12:15:12 +00:00
dependabot[bot]
791cb06945
chore(deps): bump github/codeql-action from 2.1.9 to 2.1.10 (#8333)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7502d6e991...75b4f1c466)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 11:49:07 +02:00
jrandolf
274bd6b3b9
chore: drop Node 12 support (#8299)
This patches removes support for Node 12.

BREAKING CHANGE: Node 12 is no longer supported.
2022-05-03 08:59:40 +02:00
dependabot[bot]
5911b95a65
chore(deps): bump github/codeql-action from 2.1.8 to 2.1.9 (#8291)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1ed1437484...7502d6e991)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 15:59:21 +02:00
Alex Rudenko
e841d7f9f3
fix: tests failing in headful (#8273)
* fix: test failing in headful

* fix: install Firefox for headful tests

* fix: skip favicon.ico requests in test

* fix: auth test in headful

* fix: disable NetworkTimeServiceQuerying

* fix: filter more favicon requests

* fix: network test with favicon

* fix: improve fixes
2022-05-02 11:37:21 +02:00
Alex Rudenko
1308d9aa6a
feat: support chrome headless mode (#8260)
* feat: support chrome headless mode

Co-authored-by: Ergün Erdoğmuş <erdogmusergun@gmail.com>
2022-04-25 13:11:23 +02:00
Alex Rudenko
60ec89a90b
chore: add headful mode tests (#8265) 2022-04-22 12:40:18 +02:00
dependabot[bot]
95c9f392e2
chore(deps): bump github/codeql-action from 2.1.7 to 2.1.8 (#8220)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0182a2c78c...1ed1437484)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 11:34:53 +00:00
dependabot[bot]
8cd3a1e3ca
chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#8229)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 07:10:26 +00:00
dependabot[bot]
ef8f22a740
chore(deps): bump github/codeql-action from 2.1.6 to 2.1.7 (#8199)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](28eead2408...0182a2c78c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 13:42:33 +00:00
dependabot[bot]
24e1469e15
chore(deps): bump actions/setup-node from 2 to 3.1.0 (#8186)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 12:16:17 +00:00
dependabot[bot]
b9754179db
chore(deps): bump github/codeql-action from 1.1.5 to 2.1.6 (#8178)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.5 to 2.1.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8834766498...28eead2408)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 09:05:49 +00:00
dependabot[bot]
4fd0d9f110
chore(deps): bump github/codeql-action from 1.1.4 to 1.1.5 (#8139)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f5d822707e...8834766498)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 06:49:13 +00:00
dependabot[bot]
6b52ae3580
chore(deps): bump github/codeql-action from 1.1.2 to 1.1.4 (#8115)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.2 to 1.1.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d5d5c97...f5d822707e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 07:51:57 +00:00
dependabot[bot]
136aab0ecb
chore(deps): bump actions/upload-artifact from 2.3.1 to 3 (#8098)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](82c141cc51...6673cd052c)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 09:04:25 +01:00
dependabot[bot]
608d944012
chore(deps): bump actions/checkout from 2 to 3 (#8089)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:30:11 +01:00
Alex Rudenko
c4903f2a78
chore: reduce number of automatic PRs (#8083) 2022-03-01 08:49:15 +00:00
dependabot[bot]
05f9009821
chore(deps): bump github/codeql-action from 1.1.0 to 1.1.2 (#8034)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](474bbf07f9...d39d5d5c97)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 08:21:36 +00:00
dependabot[bot]
05e5dfa9c0
chore(deps): bump ossf/scorecard-action from 1.0.3 to 1.0.4 (#8035)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Commits](b614d455ee...c1aec4ac82)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 07:57:09 +00:00
Alex Rudenko
5cf6f5f6cb
chore: declare workflow permissions as read-only (#8029) 2022-02-15 14:50:51 +00:00
Nick Schonning
23d8dbbcbc
ci: use setup-node v2 (#7854)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-02-15 14:54:36 +01:00
dependabot[bot]
7282fddb01
chore(deps): bump github/codeql-action from 1.0.26 to 1.1.0 (#8021)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.26 to 1.1.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f53256358...474bbf07f9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 09:39:23 +00:00
dependabot[bot]
6e6a00c2cb
chore(deps): bump ossf/scorecard-action from 1.0.2 to 1.0.3 (#8023)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Commits](c8416b0b2b...b614d455ee)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 08:26:38 +00:00
dependabot[bot]
9cbfa5bcfd
chore(deps): bump actions/setup-node from 1 to 2.5.1 (#8022)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 08:04:55 +00:00
Nick Schonning
1d6c82b254
chore: update Dependabot config (#7855)
- Allow updating GitHub Action versions
- Increase allowed PRs from default 5 to 99
2022-02-14 14:49:18 +00:00
Alex Rudenko
de0159d2f5
chore: disable npm deprecate until the proxy is fixed (#8019) 2022-02-14 14:06:57 +01:00
Nick Schonning
b2bf70fc3b
chore: update prettier globs and format files (#7856)
* chore: update prettier globs and format files

* fix: remove reference to Markdownlint
2022-02-11 20:29:43 +01:00
Alex Rudenko
7e2b47c974
chore: fix deprecate command (#8000) 2022-02-11 07:32:27 +01:00
Alex Rudenko
1b120b2c36
chore: improve logging in the publishing script (#7984) 2022-02-10 09:14:02 +00:00
Alex Rudenko
09ff56b7a8
chore: remove commit lint from pull requests (#7957) 2022-02-04 20:42:15 +01:00
Mathias Bynens
2fefcc9185
chore: set up ossf/scorecard-action (#7953) 2022-02-01 08:55:58 +00:00
Alex Rudenko
776ced620e
chore: apply deprecation command (#7929) 2022-01-27 07:18:23 +00:00
Jack Franklin
7c0a7b92cf
chore: remove documentation deploy github action (#7766)
It is causing failed builds and we are not currently using it, plus we
want to move this setup into a new repository, such that it can run
independently of Puppeteer's main codebase.

For now, until that work is done, let's remove it to not cause build
issues and to not waste cycles on CI.
2021-11-11 15:11:18 +00:00
Jack Franklin
a5e9b5c512
chore: disable docs website build step (#7711)
It is flakey on the bots and we're not actively using it yet, so let's
disable it for now. We will work on extracting this into its own repo
and that work is tracked in
https://github.com/puppeteer/puppeteer/issues/7710.
2021-10-19 14:29:47 +01:00
Jan Scheffler
b6ffc8999c
chore: keep ff unit tests on windows from blocking ci (#7658) 2021-10-08 15:23:06 +00:00
Philip Jägenstedt
18651c5fd8
chore: configure Dependabot (#7620) 2021-10-06 13:08:26 +02:00
Nitin Kumar
149d88fe20
chore: create PULL_REQUEST_TEMPLATE (#6988) 2021-09-23 08:58:39 +00:00
Mathias Bynens
d4b17bd20a chore: add GitHub issue template (#7543)
https://github.blog/changelog/2021-06-23-issues-forms-beta-for-public-repositories/
2021-09-03 09:14:25 +02:00
Jack Franklin
6fde41c6b6
fix(docs): deploy includes website documentation (#7469)
We now generate the docs into `website/docs` such that it's used by
Docusaurus when we build the site, we need to update the deploy script
to generate those docs first.
2021-08-05 10:01:25 +00:00
Jack Franklin
39c1f08fd6
chore(docs): basic docusaurus setup (#7438) 2021-07-26 11:52:25 +00:00
Jack Franklin
dab541a84d
chore(docs): setup placeholder workflow (#7434) 2021-07-21 14:59:12 +01:00
Jack Franklin
457651d0a3
chore: add github-retry to unit tests (#7276)
* chore: add github-retry to unit tests

* chore: add timeout_minutes
2021-05-26 14:30:16 +01:00
Mathias Bynens
97c9fe2520
chore: drop support for Node.js 10 (#7200)
This is a prerequisite for shipping Puppeteer as JavaScript modules.

Issue: #6753

BREAKING CHANGE: Node.js 10 is no longer supported.
2021-05-17 11:34:58 +02:00
Jack Franklin
4796382f01
chore: enforce pinned dependencies (#7238)
* chore: enforce pinned dependencies

Because we don't check our `package-lock.json` in, we can end up with
different versions installed locally vs CI, or even two devs having
different versions. Let's pin and enforce we pin every version to
avoid this.
2021-05-14 12:02:36 +01:00
Henrik Skupin
669f04a7a6
chore: enable unit tests for Firefox on Windows (#6895)
Co-authored-by: Jan Scheffler <janscheffler@chromium.org>
2021-03-05 09:00:56 +00:00
Henrik Skupin
b046fd79bd
chore: run unit tests for Firefox on MacOS (#6896) 2021-02-18 13:44:36 +01:00
Jack Franklin
00d88ef0d8
chore: enable ff unit tests again (#6861) 2021-02-18 11:51:55 +01:00
Mathias Bynens
f7de60be22
fix: move CI npm config out of .npmrc (#6901)
This avoids issues with local `npm commands` trying to use the Wombat registry.
2021-02-17 18:52:22 +01:00
Jack Franklin
df41b87b82
chore: temporarily disable FF tests on CI (#6864)
* chore: temporarily disable FF tests on CI

The tests are regularly flaking (see #6861 for some investigation). In
the mean time it's blocking us landing and releasing, so we'll
temporarily skip FF tests for now.

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2021-02-11 09:14:28 +00:00
Jack Franklin
6a0eb7841f
fix: wider compat TS types and CI checks to ensure correct type defs (#6855)
* fix: wider compat TS types and CI checks to ensure correct type defs

This PR improves our TS types further to make sure they are usable in a
TS environment where ES Modules are the target output. Our use of
`export =` is problematic this environment as TypeScript does not allow
`export =` to be used and it errors.

The fix for the type issues to avoid `export =` is to instead define the
functions that you gain access to when you import Puppeteer as top level
functions in our `types.d.ts` file. We can do this by declaring them
explicitly in `src/node.ts`. These are then rolled into `lib/types.d.ts`
at build time. The downside to this is that we have to keep those
declarations in sync with the Puppeteer API; should we add a new method
to the `Puppeteer` class, we must add it to the `nodes.ts` declarations.
However, this could easily be automated by a small script that walks the
AST and generates these. I will do that in a follow-up PR, but I
consider this low risk given how rarely the very top level API of
Puppeteer changes. The nice thing about this approach is we no longer
need our script that hacks on changes to `lib/types.d.ts`.

To avoid yet more releases to fix issues in one particular TS
environment, this PR also includes a suite of example setups that we
test on each CI run. Each sample folder contains `good.ts`, which should
have no TS errors, and `bad.ts`, which should have some errors. The test
first packs Puppeteer into a tar, and then installs it from that tar
into each project. This should replicate how the published package
behaves when it is installed. We then check that we get no errors on
`good.ts`, and the expected errors on `bad.ts`.

We have a variety of test projects that cover both TS and JS source
code, and CJS and ESM imports and outputs.
2021-02-10 12:04:36 +00:00
Mathias Bynens
d799e30090
chore: let actions/checkout determine the branch by itself (#6821)
Hopefully this ensures pull requests coming from forks still get CI checks.

Issue: #6818
2021-02-05 09:04:46 +01:00
Mathias Bynens
c49d10970f
chore(ci): use GitHub Actions to run unit tests on Windows and macOS (#6782)
Similar to our earlier Travis CI setup, we continue to run exhaustive checks on Linux, while also verifying the build + unit tests still work on other platforms.

Issue: #6726
2021-01-27 14:57:41 +01:00
Mathias Bynens
9dd1aa302d
chore: add GitHub Action workflow for main CI checks (#6739) 2021-01-12 11:48:33 +01:00
Mathias Bynens
8e9970df67
chore: automate publishing on new Git tags (#6536)
Issues: #6482
2020-10-23 14:40:14 +02:00