Commit Graph

86 Commits

Author SHA1 Message Date
Alex Rudenko
6f1dd09cca
chore: allow enabling the tab target for testing (#10790) 2023-08-28 08:53:22 +00:00
dependabot[bot]
ad0c793662
chore(deps): Bump actions/checkout from 3.5.3 to 3.6.0 (#10789)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 10:18:28 +02:00
dependabot[bot]
bb944ad968
chore(deps): Bump actions/setup-node from 3.7.0 to 3.8.1 (#10759)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 11:03:43 +00:00
dependabot[bot]
1f08c54d83
chore(deps): Bump actions/setup-node from 3.6.0 to 3.7.0 (#10559)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 12:06:17 +00:00
Nikolay Vitkov
40a6f52e14
ci: disable Firefox BiDi (#10564) 2023-07-18 09:56:55 +02:00
Nikolay Vitkov
0d2c42a1c4
ci: fix Actions not running sometimes (#10503) 2023-07-04 14:17:25 +02:00
dependabot[bot]
2a86aa2629
chore(deps): Bump actions/checkout from 3.5.2 to 3.5.3 (#10448)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 09:54:28 +00:00
Alex Rudenko
c35084dd2c
ci: separate unit tests (#10436) 2023-06-26 10:57:48 +02:00
Julian Descottes
9c00c2c57e
chore: Re-enable firefox tests on macos (#10333) 2023-06-07 13:58:01 +00:00
Nikolay Vitkov
3552d97360
chore: update dependencies (#10336) 2023-06-07 11:17:31 +00:00
Alex Rudenko
4764b9a079
chore: remove commitlint and husky (#10304) 2023-06-02 13:17:20 +02:00
Nikolay Vitkov
d20b4fb407
ci: pin dependencies to commit (#10296) 2023-06-02 09:52:21 +00:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing (#10222) 2023-05-24 11:43:45 +00:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi (#10121) 2023-05-15 16:39:47 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium (#10054)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
Nikolay Vitkov
4aefaee046
chore: fix GitHub Actions on main (#10012) 2023-04-12 17:59:01 +02:00
Nikolay Vitkov
e0581c6915
chore: GitHub Actions needs 0 exit for all commands (#10010) 2023-04-12 17:19:25 +02:00
Nikolay Vitkov
3f6670b987
chore: stop CI if search crawler is blocked (#10008) 2023-04-12 16:10:08 +02:00
Alex Rudenko
c874a81445
refactor: misc refactoring around browsers debugging and stability (#9979) 2023-04-06 11:14:58 +02:00
Alex Rudenko
fa93e4ebdf
chore: test server for browsers (#9974)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-04-05 16:18:25 +02:00
Alex Rudenko
8222bc01b4
chore: cache wireit for the inspect-code action (#9975) 2023-04-05 13:27:03 +02:00
Alex Rudenko
3936600ba9
refactor: use @puppeteer/browsers for install (#9898)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-28 09:27:50 +00:00
Alex Rudenko
94f680a046
chore: remove long jobs (#9913) 2023-03-24 16:36:00 +01:00
Alex Rudenko
3a31070d05
chore: store artifacts with test results (#9912) 2023-03-24 15:31:47 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses (#9873) 2023-03-23 10:22:52 +01:00
Nikolay Vitkov
8bd73175e0
chore: run CI on up to date PRs (#9885) 2023-03-22 10:47:22 +01:00
Nikolay Vitkov
4351e0de9e
chore: fix Actions Node version to LTS (#9859) 2023-03-15 13:59:42 +01:00
Alex Rudenko
7f05d441d5
chore: fix esbuild problem (#9820) 2023-03-10 08:52:48 +01:00
jrandolf
299d44477d
chore: remove pre-push and pre-commit (#9777) 2023-03-06 12:28:58 +01:00
Nikolay Vitkov
415da92300
chore: extract Changed packages workflow (#9741) 2023-02-23 15:37:36 +00:00
Alex Rudenko
b50e43bc17
chore: introduce @puppeteer/browsers with a fetch method implementation (#9647)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-02-13 11:49:50 +01:00
Nikolay Vitkov
45b7197a73
chore: Build only needed packages (#9620) 2023-02-02 11:18:17 +01:00
Nikolay Vitkov
e911f18a93
chore: Extract doc checking job to improve speed (#9549)
Extracts the Doc checking in CI to `Inspect code` job, this should speed
up of the reset of the test as they need `check-changes` before running.

Drive-by: Updated `actions/checkout` to latest version. 

Note: Required Jobs should be changed for this to be possible to merge.
2023-01-20 11:37:11 +01:00
Nikolay Vitkov
db6085df65
chore: Run Test only when necessary (#9538)
**What kind of change does this PR introduce?**

CI change

**Did you add tests for your changes?**

N/A

**If relevant, did you update the documentation?**

**Summary**

We want to run our test only when relevant parts of the code are
changed.
Example change to `ng-schematics` should not trigger `puppeteer` test.

**Does this PR introduce a breaking change?**

No

**Other information**
2023-01-19 13:53:43 +01:00
Alex Rudenko
29a50764d4
chore: add BiDi integration for Chromium (#9410)
This PR adds experimental support for WebDriver BiDi by making use of
chromium-bidi to implement the BiDi protocol. The tests are disabled on
Windows due to flakiness (filed
https://github.com/GoogleChromeLabs/chromium-bidi/issues/361).
2022-12-20 14:37:31 +00:00
jrandolf
fe986c6a50
chore: trigger reindexing on doc deployment (#9425) 2022-12-16 14:19:28 +01:00
Alex Rudenko
e986660d36
chore: disable yarn tests (#9407)
The number of jobs we run is already high.
Yarn does not work well in our test setup on release PRs. Therefore, I
suggest we disable explicit tests for it and let's assume it's
compatible enough with npm.
2022-12-13 10:22:57 +01:00
Nikolay Vitkov
89ff872120
chore: Update CI file to use new set method (#9389)
Closes #9373,
Fixes #9296
2022-12-09 10:49:53 +01:00
Alex Rudenko
e55fed9d49
chore: use npm 8.3 on windows with node 14 (#9246)
Workaround for https://github.com/npm/cli/issues/4341#issue-1117047096
2022-11-11 09:34:13 +01:00
Nikolay Vitkov
15604f474a
chore: Add schematics tests to CI (#9235)
**What kind of change does this PR introduce?**

Add CI for testing Schematics.

**Did you add tests for your changes?**

Not relevant.

**If relevant, did you update the documentation?**

Not relevant.

**Summary**

We want to check if tests for `@puppeteer/ng-schematics` are passing
after

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-10 15:26:46 +01:00
jrandolf
6bf5f435b8
chore: disable install checks on release PRs (#9183) 2022-10-28 12:46:45 +02:00
Alex Rudenko
5885792be4
chore: re-enable firefox on mac (#9137)
I believe they were previously enabled but got disabled with the recent
changes. Let's re-enable it as they don't appear to be slower than the
chrome tests.
2022-10-19 14:24:56 +00:00
dependabot[bot]
7aaa5f8de5
chore(deps): bump actions/setup-node from 3.4.1 to 3.5.1 (#9114)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from
3.4.1 to 3.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-node/releases">actions/setup-node's
releases</a>.</em></p>
<blockquote>
<h2>Update <code>@​actions/core</code> and Print Node, Npm, Yarn
versions</h2>
<p>In scope of this release we updated <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/587">actions/core
to 1.10.0</a>. Moreover, we added logic <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/368">to
print Nodejs, Npm, Yarn versions</a> after installation.</p>
<h2>Add support for engines.node and Volta</h2>
<p>In scope of this release we add support for engines.node. The action
will be able to grab the version form package.json#engines.node. <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/485">actions/setup-node#485</a>.
Moreover, we <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/532">added
support for Volta</a></p>
<p>Besides, we updated <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/574"><code>@​actions/core</code>
to 1.9.1</a> and <a
href="https://github-redirect.dependabot.com/actions/setup-node/pull/573"><code>@​actions/cache</code>
to 3.0.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8c91899e58"><code>8c91899</code></a>
Update <code>@​actions/core</code> to 1.10.0 (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/587">#587</a>)</li>
<li><a
href="c81d8ad96d"><code>c81d8ad</code></a>
Print node, npm and yarn versions after installation (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/368">#368</a>)</li>
<li><a
href="c96ab56c5b"><code>c96ab56</code></a>
Add information about always-auth input (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/585">#585</a>)</li>
<li><a
href="969bd26639"><code>969bd26</code></a>
Fix test volta priority (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/577">#577</a>)</li>
<li><a
href="9f3a02bbd1"><code>9f3a02b</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/532">#532</a>
from jef/main</li>
<li><a
href="4cffe5c52b"><code>4cffe5c</code></a>
chore: remove sponge usage</li>
<li><a
href="0efefb3c0b"><code>0efefb3</code></a>
Merge remote-tracking branch 'upstream/main'</li>
<li><a
href="1e6f2cd312"><code>1e6f2cd</code></a>
test: add volta e2e test</li>
<li><a
href="30f0e7dc5a"><code>30f0e7d</code></a>
Update <code>@​actions/core</code> to 1.9.1 (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/574">#574</a>)</li>
<li><a
href="c8f0d10585"><code>c8f0d10</code></a>
upgrade <code>@action/cache</code> to 3.0.4 to fix stuck issue (<a
href="https://github-redirect.dependabot.com/actions/setup-node/issues/573">#573</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/v3.4.1...v3.5.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3.4.1&new-version=3.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 14:10:52 +02:00
jrandolf
8f4902eed9
chore: use test runner for installation tests (#9110) 2022-10-14 13:37:07 +02:00
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