jrandolf
6a05d8e9c1
chore: improve docs and scripts ( #9107 )
...
This PR updates some docs and scripts related to the recent changes in
the repository.
2022-10-13 18:55:11 +02:00
jrandolf
3df375baed
feat!: use ~/.cache/puppeteer
for browser downloads ( #9095 )
2022-10-11 11:20:45 +00:00
jrandolf
3675f168ef
chore: improve CI jobs ( #9054 )
...
This PR separates the installations tests from normal tests and changes
the matrices as follows:
- Installations tests on all platforms and the latest 3 node versions.
- Chrome tests are done on all platforms on the latest node version.
- Firefox tests are done only on linux on the latest node version.
2022-10-06 15:45:22 +02:00
jrandolf
2e3719cd7f
chore: pin checkout action ( #9069 )
2022-10-06 12:44:45 +02:00
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core ( #9023 )
...
This PR moves the puppeteer source code into separate mono-repo packages:
- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.
Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00
Alex Rudenko
023ebd8f78
chore: enable firefox tests on Mac ( #9002 )
2022-09-23 19:06:09 +02:00
Alex Rudenko
a00d466874
chore: add strategy.fail-fast=false ( #9007 )
...
fail-fast=false ensures that we run all jobs even if
some have failures to receive test results from all configurations.
2022-09-23 09:57:40 +02:00
Henrik Skupin
5a1b8d2d7c
chore: add headful support for Firefox ( #9004 )
...
* chore: add headful support for Firefox
* chore: update test expectation data for Firefox headful tests
2022-09-23 07:23:36 +02:00
Alex Rudenko
3939d5510f
chore: enable continue on error ( #9003 )
2022-09-22 12:30:34 +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
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
f57dde1c5b
chore: fix builds in CI ( #8877 )
2022-09-01 12:43:26 +00:00
jrandolf
ae4c5ea031
chore: refactor build commands ( #8874 )
2022-09-01 01:05:20 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation ( #8864 )
2022-08-31 14:42:53 +02: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
9588072a28
chore: try increasing swap size for website generator ( #8745 )
2022-08-06 14:59:47 +02:00
Alex Rudenko
1f89724b64
chore: increase max-old-space-size for docs ( #8721 )
2022-08-02 13:18:51 +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
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
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
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
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
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
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
jrandolf
733cbecf48
chore: use c8 coverage ( #8495 )
2022-06-10 18:49:14 +02:00
jrandolf
75c3f94a54
chore: namespace commands ( #8494 )
2022-06-10 11:55:53 +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
jrandolf
f2d8276d6e
feat: support node 18 ( #8447 )
2022-06-01 13:53:17 +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
Randolf Jung
4ba9950cc5
chore: rename actions
2022-05-31 14:56:44 +02:00