Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(tmp) github actions testing #4354

Draft
wants to merge 15 commits into
base: beta
Choose a base branch
from
Draft

(tmp) github actions testing #4354

wants to merge 15 commits into from

Conversation

p2edwards
Copy link
Contributor

This is a multipurpose draft/temp PR for testing changes for github-actions.

The main purpose is to iterate on issues like #4337, without cluttering other branches or PR's with lots of small commits that are mainly just for triggering slightly different test runs. Any results found here will probably be ported into other PRs rather than merging this one.

Resolves this warning…

```
[DEP_WEBPACK_MODULE_ISSUER]
DeprecationWarning: Module.issuer: Use new ModuleGraph API
(Use `node --trace-deprecation ...` to show where the warning was
created)
```

…by swapping out module.issuer for moduleGraph.getIssuer(module).

PR on upstream:

- grassator/webpack-extract-translation-keys#23
- Key on runner.os, package-lock.json, and package patches if any
- Run postinstall copy-fonts separately if using cached node_modules
- Relabel names
- See if this uses the cache
@p2edwards p2edwards changed the title (tmp/DRAFT) github actions testing (tmp) github actions testing Mar 14, 2023
@p2edwards
Copy link
Contributor Author

  • The extended polling interval for mocha-chrome has succeeded 5/5 times. That's pretty promising.
  • Caching node_modules is cool and works as expected. It's nice to see "Successful in 1m" on npm-test/build.

@p2edwards p2edwards force-pushed the tmp-github-actions-tests branch 3 times, most recently from 6a6b5f6 to 122b1fc Compare March 21, 2023 15:33
Base automatically changed from faster-frontend-builds to beta March 21, 2023 23:34
@p2edwards p2edwards force-pushed the tmp-github-actions-tests branch 2 times, most recently from bd12893 to 122b1fc Compare March 25, 2023 18:51
"Before I forget", let's include node version in the cache key.

The contents of node_modules after `npm install` may differ if the
Node version (or npm) changes. So to prevent cache misuse, this version
string should be included in the cache key somewhere.

We don't quite need this yet, since we only recently started caching
node_modules, and all CI tests are still on the same version
(v16.15.0, with stock npm 8.5.5).

It's just that we'll want this in place before someone starts
experimenting with moving past 16.15.0, because the cache is reused
across different branches.
@p2edwards
Copy link
Contributor Author

p2edwards commented Jul 7, 2023

research log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants