Commit graph

381 commits

Author SHA1 Message Date
Lee Robinson
49347f0157
Update lock time and message. (#30902)
* Update lock.yml

* lint-fix

Co-authored-by: jj@jjsweb.site <jj@jjsweb.site>
2021-11-03 13:16:08 -05:00
Steven
beedff291e
Add Node.js 17 to CI (#30760)
This will make sure #30743 doesn't regress
2021-11-01 21:24:15 +00:00
matamatanot
187ad180c2
remove binary-cache (#30658) 2021-11-01 14:11:14 -05:00
JJ Kasper
fc21a20311
Fix a couple more missing doc only checks (#30748) 2021-11-01 11:51:30 -05:00
JJ Kasper
ea91b9def5
Ensure dev binary download skips for docs only change (#30746) 2021-11-01 11:20:46 -05:00
JJ Kasper
d7d1a05208
Ensure native binary is available for release stats (#30649) 2021-10-30 12:54:42 +02:00
JJ Kasper
18a39915b6
Fix check compiled step (#30645)
* Update check compiled step

* update compiled
2021-10-29 23:29:30 -05:00
Maia Teegarden
b5a89160f7
Chore/rust workflow (#30577)
* Remove prebuilt binaries from repo

* Prefer locally built binary

* Add binary packages as optionalDependencies

* Remove build-native workflow for prebuilt binaries

* Remove binaries from checkCompiled job

* Change build-native command to default to dev

* Add build-native-dev and have tests depend on it

* Update contributing

* Run ls to make inspect artifact download

* Use correct artifact download path

* Try using reusable workflows

* Resort to duplication for now

* Inspect artifact download

* Ensure native is copied for PR stats

* Copy after ref checkout and log binaries for PR stats

* fix typo

* copy right before linking/packing

* Use fs.copy

* fix test for now

Co-authored-by: jj@jjsweb.site <jj@jjsweb.site>
2021-10-29 13:56:56 -05:00
Tobias Koppers
515b795bc5
fix lint problem (#30553) 2021-10-28 14:22:23 +00:00
Donny/강동윤
14d3f01a98
Exclude musl from target (#30548) 2021-10-28 14:59:20 +02:00
JJ Kasper
8a445ca8aa
Revert "Make check release job parallel to build job (#30350)" (#30388)
This reverts commit 8d82d7696a.
2021-10-26 19:44:15 -05:00
JJ Kasper
8d82d7696a
Make check release job parallel to build job (#30350) 2021-10-26 23:04:47 +02:00
JJ Kasper
d8e74a8490
Ensure linux-aarch64-musl swc target skips when cached (#30331) 2021-10-26 13:03:39 -05:00
Maia Teegarden
c0edc2881c
Add necessary workflow job dependencies (#30291) 2021-10-25 19:31:05 -07:00
Maia Teegarden
20da8079f3
Chore/publish all swc (#30289)
* Publish more swc targets

* Remove prebuilt binaries

* Use correct path for caching

* Build next-swc binaries

* Remove unused job dependency
2021-10-25 19:00:36 -07:00
JJ Kasper
1a10ab8c39
Update error for failing to load SWC bindings (#30269) 2021-10-25 12:23:44 -05:00
Donny/강동윤
085df63bf9
next-swc: Support more platforms (#30254)
Co-authored-by: kdy1 <kdy1@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-10-25 17:00:48 +02:00
Tobias Koppers
b31b4923d0
upload test traces for integration tests too (#30260) 2021-10-25 11:18:06 +00:00
JJ Kasper
474f1e7d93
Add initial test trace outputs (#30246) 2021-10-25 08:21:57 +02:00
JJ Kasper
864d5c6bd8
Update removeHash handling for stats-app (#30235) 2021-10-24 19:12:26 +02:00
Katie Byers
58a79e34e5
add linting instructions (#30123) 2021-10-20 21:52:23 -05:00
Steven
094153f935
Fix repo-setup when .DS_Store exists (#30119) 2021-10-20 18:13:09 -05:00
Tim Neutkens
70c08e01e1
Update labeler.json 2021-10-18 10:20:53 +02:00
JJ Kasper
665b29ec8a
Add native build caching to main workflow also (#29920) 2021-10-14 11:39:57 -05:00
Donny/강동윤
bf9e998ae3
Update swc & Improve CI time (#29884)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: kdy1 <kdy1@users.noreply.github.com>
2021-10-13 18:55:35 +02:00
Steven
f6d99c3d74
Add rich to codeowners for docs (#29848) 2021-10-12 09:55:00 -04:00
Tim Neutkens
aa8a885599
Remove webpack 4 support (#29660)
Co-authored-by: jj@jjsweb.site <jj@jjsweb.site>
2021-10-06 17:40:01 +02:00
JJ Kasper
61409dd615
Update stats-config for release stats (#29654) 2021-10-05 17:49:24 -05:00
JJ Kasper
a4dee7b254
Update test timings endpoint (#29443)
* Update test timings endpoint

* bump
2021-09-28 10:15:04 -05:00
JJ Kasper
efa95fc917
Ensure actions/cache paths match for restoring (#29275)
* Ensure actions/cache paths match for restoring

* add docs check
2021-09-21 15:29:44 -05:00
JJ Kasper
2839479442
Ensure we only ignore .git cache for check-precompiled (#29274) 2021-09-21 15:01:08 -05:00
Tobias Koppers
4f212ee91d
the way towards webpack 5 typings (#29105)
Co-authored-by: sokra <sokra@users.noreply.github.com>
2021-09-21 19:17:16 +02:00
JJ Kasper
800b2beef6
Remove docker usage for running development tests (#29264) 2021-09-21 19:04:23 +02:00
Maia Teegarden
29ab433222
Remove tag workflow trigger (#29155) 2021-09-16 16:36:02 -05:00
Maia Teegarden
4a2d5a1b49
Add/styled jsx swc (#29005)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-09-15 09:24:31 +02:00
Tim Neutkens
7d664d5b36
Add stats config for SWC (#28883)
* Add stats config for SWC

* Remove stats for deprecated mode

* Include native binaries in local linking

* Expose minify in next-swc

* Build next-swc binaries

* Only upload changed binary artifact

* Build next-swc binaries

* Expose minify in js binding

* Use new minify function in terser plugin

* Build next-swc binaries

* Build next-swc binaries

* Build next-swc binaries

* Pass pagesDir option to SWC for next/dynamic

* Build next-swc binaries

* Add spans for next-trace-entrypoints-plugin

* Fix linting

Co-authored-by: Maia Teegarden <dev@padmaia.rocks>
Co-authored-by: padmaia <padmaia@users.noreply.github.com>
Co-authored-by: timneutkens <timneutkens@users.noreply.github.com>
2021-09-14 18:13:11 +02:00
Maia Teegarden
a784d54ab5
Fix/upload binary artifact (#29069)
* Fix upload of binary artifacts

* Build next-swc binaries

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 16:40:06 -07:00
JJ Kasper
0a6ae5c3c2
Remove extra macOS test workflow (#29064)
This is a follow-up to https://github.com/vercel/next.js/pull/29060 removing the `test_macos` workflow since it is redundant to run these tests in macOS as it should be very unlikely the tests fail in the mac environment but pass in the ubuntu environment. It also seems the snapshot tests are incorrect inside of the GitHub actions macOS environment so these tests will not work correctly anyways.
2021-09-13 18:40:17 +00:00
JJ Kasper
ce870babb7
Update test workflows for mac/react (#29060)
* Update test workflows for mac/react

* share timings as well

* update macos
2021-09-13 12:13:22 -05:00
JJ Kasper
e49829bb8e
Fix webpack version and safari test and update compiled (#29059)
* Fix webpack version and safari test and update compiled

* Update compiled again
2021-09-13 10:56:07 -05:00
JJ Kasper
a92a5caec2
Update test set-up to leverage playwright when able to (#28634)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 14:36:25 +02:00
Maia Teegarden
4f8d883acd
Fix/swc minify (#28898)
* Expose minify in next-swc

* Expose minify in js binding

* Use new minify function in terser plugin

* Only upload changed binary artifact

* Build next-swc binaries

* Add swc license info to copied file
2021-09-07 15:57:47 -07:00
Tim Neutkens
dd04766ce1 Upgrade upload-artifact action 2021-09-07 10:36:10 +02:00
Brody McKee
1d08172116
Update to new npm publish token (#28772) 2021-09-03 11:58:11 -05:00
Steven
fcdf73202d
Update github labeler with eslint-plugin-next (#28751)
The `eslint-plugin-next` package should be considered a "core" package since it powers the `next lint` command
2021-09-03 03:45:53 +00:00
JJ Kasper
005b13f1ac
Move unit tests to one folder and migrate them to TypeScript (#28427)
* Move unit tests to one folder

* Migrate unit tests to TypeScript

* add test types to lint

* Ensure ts(x) tests are run with util

* Add tsx extension to jest config

* bump
2021-08-24 07:52:45 -05:00
JJ Kasper
83209a4be4
Ensure @babel/core is de-duped when nccing (#28384)
* Ensure @babel/core is de-duped when nccing

* lint-fix

* ncc babel packages together

* remove un-needed env

* bump
2021-08-22 14:06:58 -05:00
JJ Kasper
a342fba00a
Update polling env var for tests in CI (#28264)
* Update polling env var for tests in CI

* Update polling value

* always use polling

* Revert "always use polling"

This reverts commit 281875de921874592a6755d67acaad7441c06e22.

* test disabling tcp/udp offloading

* fix quotes
2021-08-18 15:29:15 -05:00
JJ Kasper
5544adc481
Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00
Maia Teegarden
97f9b64cf6
Add setup for m1 build (#28138)
* Add setup for m1 build

* Add workflow to cache key

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-15 11:44:28 -07:00
Oscar Busk
971b17f1e9
Add ci script to check examples (#28009)
* Add ci script to check examples

* Install moreutils for `sponge` command.

It's not very pretty, but I'm not sure how to replace sponge in a good way in the shell script

* Prettier names in the workflow

* Move "check-examples" into build_test_deploy workflow

* Start breaking the jq script into multiple lines

* Add checks for cleanups in vercel/next.js#27121

* Run the `check-examples.sh` script to cleanup all remaining examples.
2021-08-14 13:34:40 -05:00
JJ Kasper
c3dcc965f3
Skip native ci steps for docs only changes (#28101) 2021-08-14 09:28:42 -05:00
Steven
9027aeab00
Fix gh action workflow when docs changed (#28092)
Fixes this issue: https://github.com/vercel/next.js/pull/28077/checks?check_run_id=3326281106
2021-08-14 01:44:51 +00:00
Maia Teegarden
24df675c32
Authenticate npm before publishing native packages (#28041) 2021-08-12 10:55:07 -07:00
Maia Teegarden
b2c7b316cb
Next swc publish flow (redo) (#27984)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-12 12:22:50 +02:00
Tim Neutkens
8ac3254d25 Revert "Next swc publish flow (#27932)"
This reverts commit 94fc6f0832.
2021-08-11 15:48:15 +02:00
JJ Kasper
e61ea6f27b
Add manifest check step and add missing items (#27934) 2021-08-11 11:17:57 +02:00
Maia Teegarden
94fc6f0832
Next swc publish flow (#27932) 2021-08-11 11:03:16 +02:00
JJ Kasper
83b3ceb8a7
Update release stats job name (#27923) 2021-08-10 16:24:45 -05:00
Houssein Djirdeh
3e7fc0efac
Updates Aurora team members in labeler (#27795)
* updates Aurora team members in labeler

* lint-fix


Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-08-05 14:50:31 -05:00
Steven
88a904a381
Remove codeowners from examples (#27798)
This PR will reduce noisy notifications
2021-08-05 19:41:49 +00:00
Maia Teegarden
204445ff2f
Add/amp attribute patcher (#27700)
* Add amp attribute transform

* Add amp attribute unit tests

* Fix ci if statements

* Checkout code in rust tests

* Add rust fixtures to eslintignore

* Add cargo config

* Configure toolchain for cross compilation
2021-08-03 09:54:57 -07:00
Maia Teegarden
4172a4c0a6
Add initial next swc package with first transform (#27355)
* Set up next-swc package with no custom transforms

* Add hook_optimizer transform

* Fix lint

* Build next-swc on CI

* Add toolchain in rust action

* Build binaries in manual workflow

* Commit from GitHub Actions (Build next-swc native binaries)

* Update dependencies

* Update swc and use stable rust

* Build next-swc binaries

* Test compiled code

* Dedupe @node-rs/helper

* Add workflow to check next-swc binaries

* Fix check native

* PR feedback

* PR feedback

* Pr feedback

* Build next-swc binaries

* Combine native workflows

* Add docs for contributors on less common platforms

* PR feedback

* Compare JsWord instead of converting to string

* Fix workflow formatting

* Add docs for building binaries for CI

* Build next-swc binaries

* Fix workflow if syntax

* Add license info to copied code

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-27 17:07:28 +02:00
JJ Kasper
ebf81223d7
Increase PR stats repo build timeout (#27419)
Follow-up to https://github.com/vercel/next.js/pull/27308 this increases the `exec` timeout to allow more time for the repo to install/build since it can sometimes take longer in GitHub actions.
2021-07-22 19:16:48 +00:00
JJ Kasper
f21cba4929
Increase stats action install timeout (#27308)
This updates the PR stats action to add the `--network-timeout 1000000` flag when doing initial `yarn` installation to hopefully prevent the random `yarn` failures while it's running. Thanks @styfle for the tip!
2021-07-19 22:02:19 +00:00
Tim Neutkens
9468b4c5a8
Update labeler.json 2021-07-09 14:23:24 +02:00
Tim Neutkens
59c742ee7f
Add instructions on how to add nextjs.org/docs/messages urls (#26865)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-02 13:39:00 +02:00
JJ Kasper
612889dfeb
Update repo scripts to separate folder (#26787) 2021-07-01 13:41:27 +02:00
JJ Kasper
72318a7ba9
Update codeowners to add new maintainers (#26770) 2021-06-30 19:27:50 -05:00
Tim Neutkens
bb42c86c82 Update PR labeler action 2021-06-30 11:40:30 +02:00
Gerald Monaco
1f09a78eba
Fix react@next and react@experimental tests (#26088) 2021-06-14 14:40:15 -05:00
JJ Kasper
713e92e838
Update preload test for safari (#26020) 2021-06-11 15:28:42 -05:00
JJ Kasper
d257ef407c
Ensure correct browser env is used (#26014)
* Ensure correct browser env is used

* Fix production suite in webpack 4 mode

* fix page count on webpack 4
2021-06-11 14:38:51 -05:00
Tim Neutkens
e1502bc9a5
Enable webpack5 for all apps (#25639)
* Enable webpack 5 by default for all apps

Still provides a way to opt-out using `webpack5: false` in next.config.js. Also throws an error for `future.webpack5`.

* Update tests

* Update test to run on webpack 4 instead of webpack 5

* disable webpack5 for legacy tests

* Fix stats-config for webpack4

* update tests

* update size for webpack4 test

* move basic suite first

* update basic test

* Add logs

* remove outdated testFutureDependencies job

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-06-07 15:48:29 -05:00
Gerald Monaco
a09425f66a
Bump minimum React version to ^17.0.2 (#25788) 2021-06-07 13:11:50 +02:00
Steven
3ae27a87e3
Bump "engines" to node >= 12.0.0 (#25761)
* Bump "engines" to node >= 12.0.0

* Bump next-stats-action

* Rename azure groups
2021-06-03 17:21:16 -05:00
Tim Neutkens
14eee3d091 Add label for chrome automatically to PR 2021-05-10 18:27:59 +02:00
Gerald Monaco
29402f3c68
Replace experimental reactMode with reactRoot (#24280)
* Remove reactMode config

* Add config + warning

* Tweak wording on warning

* Tweak wording on warning

* Don't default reactRoot for 10.x

* yak shaving

* Add warning when using old reactMode
2021-04-24 15:19:07 -05:00
Tim Neutkens
a9d2f2f160
Update 3.feature_request.yml 2021-04-23 16:58:44 +02:00
Tim Neutkens
f90461502e
Update 2.example_bug_report.yml 2021-04-23 16:58:29 +02:00
Tim Neutkens
4aa0ba7f7c
Update 1.bug_report.yml 2021-04-23 16:56:46 +02:00
Tim Neutkens
239e033bce
Update 3.feature_request.yml 2021-04-20 16:44:32 +02:00
Tim Neutkens
4415e482ce
Update 2.example_bug_report.yml 2021-04-20 16:43:14 +02:00
Tim Neutkens
663d4efef7
Update 1.bug_report.yml 2021-04-20 16:42:28 +02:00
JJ Kasper
d51fe0540e
Add note for exportPathMap query and prerender pages (#24266)
* Add note for exportPathMap query and prerender pages

* Update docs skip
2021-04-20 09:11:14 -05:00
JJ Kasper
a147539e11
Update CI jobs to re-use cache (#24231)
* Speed up test yarn pnp job

* speed up webpack 5 tests too
2021-04-20 06:10:29 -05:00
Tim Neutkens
f53df09c02
Update 3.feature_request.yml 2021-04-20 11:13:25 +02:00
Tim Neutkens
ce57fff719
Update 2.example_bug_report.yml 2021-04-20 11:13:11 +02:00
Tim Neutkens
a9132d0fda
Update 1.bug_report.yml 2021-04-20 11:12:29 +02:00
JJ Kasper
35258650ac
Update with-electron test (#24036)
* Use ssh for git regexr dependency

* remove .git from dep

* update

* update test

* update step

* update install

* remove dep temporarily

* remove extra change

* move deps to specific test
2021-04-15 10:21:32 -05:00
Tobias Koppers
1c2ee7c6b8
improve pr stats action (#24086)
* add cache build duration tracking
* default = webpack 5
* better hash handling
* allow to opt-out of webpack5 via `future.webpack5: false`
2021-04-15 11:46:56 +00:00
Gerald Monaco
cb7ef3feb5
Add react@experimental testing (#23359) 2021-04-13 19:16:45 +02:00
Tim Neutkens
3caf6420d0 Add PR template 2021-03-19 09:59:26 +01:00
Tim Neutkens
c72e85cd37
Update CODEOWNERS 2021-03-19 09:21:11 +01:00
Joe Haddad
775bdc341e
fix: correctly handle fallbacks for webpack 5 (#22497)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-02-24 10:25:57 -06:00
Denise Yu
dd7413d0ea
Fix issue templates (#22349)
This PR fixes the issue templates!

Details: https://gh-community.github.io/issue-template-feedback/changes
2021-02-19 21:38:29 +00:00
Dale Bustad
1433f7aa96
Update CODEOWNERS (#22232) 2021-02-16 17:10:40 -06:00
JJ Kasper
b6c3d9bff3
Fix getting latest stable tag for stats (#21753)
This ensures we get the latest tag not relying on the order of the tags in the output
2021-02-01 21:07:17 +00:00
JJ Kasper
5be31f5127
Update CI publish step to trigger after build (#21661) 2021-01-29 12:16:47 -05:00
JJ Kasper
35efe8d843
Remove branches filter from actions cancel workflow (#21564) 2021-01-26 15:41:34 -05:00
JJ Kasper
cca20004cb
Update CI docs change diff check (#21558)
* Update CI docs change diff check

* Increse fetch depth for merge base detecting

* Update cancel branches config
2021-01-26 14:34:30 -06:00
JJ Kasper
235b4cd0a8
Fix docs only check for CI (#21530) 2021-01-25 16:11:27 -05:00
JJ Kasper
1f79519e04
Filter canary branch for GitHub actions cancelling (#21524) 2021-01-25 12:39:30 -05:00
Joe Haddad
74b6389bd6
ci: fix webpack 5 enabling for tests (#21436)
* ci: fix webpack 5 enabling for tests

* refactor: move default location

* Disable incompatible suite
2021-01-22 11:20:53 -06:00
Joe Haddad
598997f038
fix: lint 2021-01-15 10:24:16 -05:00
Tim Neutkens
8b02c1ba52
Update 1.bug_report.yml 2021-01-15 11:04:57 +01:00
Gerald Monaco
358d57dbae
Fix tests for React 16 + Webpack 4/5 (#21146) 2021-01-15 01:31:28 -05:00
Gerald Monaco
cd5ea7db1f
Bump minimum suggested React version (#21046)
* Upgrade React version warning

* Fix font/stylesheet plugin

* Fix size-limit tests

* Fix build-output test

* Add tests for React 16

* Fix react-dom version
2021-01-14 22:29:57 -05:00
Ramiro Silveyra d'Avila
d72b2d6e36
fix: webpack 5 and worker-loader support (#21050)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2021-01-14 01:48:49 -05:00
Guy Bedford
bddb02286f
feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
JJ Kasper
e0a44d98ef
Skip GitHub actions tests for irrelevant changes (#20867)
* Skip GitHub actions tests for irrelevant changes

* add docs lint step

* Add lint-no-typescript

* Update docs lint

* Skip at the job level

* Update steps

* remove un-needed dep

* Update compare branch

* log remotes

* output to stderr

* fetch origin

* Update fetch

* update diffing

* Update command handling

* test output

* Update check

* Log output

* Update outputs

* Add id for build job

* Update output

* Update precompiled

* remove testing check
2021-01-11 13:24:17 -06:00
Kristoffer K
e848a9e504
fix(next): add missing peer dependencies for sass support (#17606) 2021-01-04 10:30:46 -05:00
Tim Neutkens
ad1150d2d1 Run prettier against new issue templates 2021-01-04 13:53:26 +01:00
Tim Neutkens
66be9c7a0e Change order of templates 2021-01-04 13:52:30 +01:00
Tim Neutkens
de752b36a9
Update 1.bug_report.yml 2021-01-04 13:50:06 +01:00
Tim Neutkens
54cc9fcf47
Create 3.example_bug_report.yml 2021-01-04 13:49:37 +01:00
Tim Neutkens
62a1f1b747
Update 1.bug_report.yml 2021-01-04 13:02:06 +01:00
Tim Neutkens
cbb45205a3
Update 1.bug_report.yml 2021-01-04 13:00:57 +01:00
Tim Neutkens
ed78ee8187
Update 1.bug_report.yml 2021-01-04 13:00:29 +01:00
Tim Neutkens
89aab7dd90
Update 1.bug_report.yml 2021-01-04 12:58:25 +01:00
Tim Neutkens
d98481d561
Delete 2.Feature_request.md 2021-01-04 12:48:45 +01:00
Tim Neutkens
9c174c0db0
Update 2.feature_request.yml 2021-01-04 12:47:54 +01:00
Tim Neutkens
e8e35a8ca5
Create 2.feature_request.yml 2021-01-04 12:44:27 +01:00
Tim Neutkens
7c55651526
Update 1.bug_report.yml 2021-01-04 12:40:36 +01:00
Tim Neutkens
b7b4e4d455
Delete 1.Bug_report.md
This file has been replaced by the bug-report issue template
2021-01-04 12:39:13 +01:00
Tim Neutkens
8085e69ca9
Rename bug_report.yml to 1.bug_report.yml 2021-01-04 12:38:17 +01:00
Tim Neutkens
a61ba7b0d1
Update bug_report.yml 2021-01-04 11:39:49 +01:00
Tim Neutkens
febb06558f
Update bug_report.yml 2021-01-04 11:36:35 +01:00
Tim Neutkens
5cb8aee415
Update bug_report.yml 2021-01-04 11:35:53 +01:00
Tim Neutkens
6c4ee56ec9
Update bug_report.yml 2021-01-04 11:35:30 +01:00
Tim Neutkens
4a296d55eb
Create bug_report.yml 2021-01-04 11:30:35 +01:00
JJ Kasper
9c8d04654e
Ensure all entries are cleared from cache on runtime change (#20652) 2021-01-01 12:39:39 -05:00
JJ Kasper
e86d230e66
Ensure webpack 5 test set-up matches integration flow (#20553) 2020-12-28 17:56:34 -05:00
Joe Haddad
5f311cddd2
fix Fast Refresh tests with webpack@5 (#20543) 2020-12-28 14:18:51 -05:00
Joe Haddad
df2f6ec003
Automatically cancel old workflow runs on PRs (#16976) 2020-12-07 14:30:46 -05:00
Tim Neutkens
c283442ef0
Update 1.Bug_report.md 2020-11-17 14:11:11 +01:00
Balázs Orbán
29694572ed
Fix typo in 1.Bug_report.md (#19143)
likelyhood -> likelihood
2020-11-13 11:36:52 +00:00
Tim Neutkens
75ec4d60a2
Update 1.Bug_report.md 2020-11-13 10:59:05 +01:00
Tim Neutkens
14aa838dbf
Mention feature requests are converted to discussions 2020-11-13 10:57:22 +01:00
JJ Kasper
18494fe3fb
Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
JJ Kasper
3cece4d2ad
Update Azure config (#18931) 2020-11-09 00:56:39 -05:00
JJ Kasper
8799bd2b00
Fix chromedriver set-up to test electron separately (#18854)
* Fix chromedriver set-up to test electron separately

* Update workflow

* Update compiled
2020-11-05 14:45:21 -06:00
Cowboy Ho
28e12876b8
Fix router not working on some protocol (#16650)
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-11-03 16:18:02 -05:00
Joe Haddad
5c97b97755
Add default tags for issue templates (#18627) 2020-11-01 11:56:42 -05:00
Jan Potoms
c0ae2041a1
Avoid calling setState in callback ref (#18589) 2020-10-31 23:37:28 -04:00
Jan Potoms
9300151118
Allow pages to be async modules to enable top-level-await (#17590)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-14 11:55:42 +02:00
Prateek Bhatnagar
71d798ce88
Font optimization for webpack 5 (#17450)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-10-12 20:58:09 +02:00
JJ Kasper
5d79a8c0c4
Update workflow step to restore cache (#17656) 2020-10-07 09:55:09 -05:00
JJ Kasper
100a1d3acc
Update release stats workflow (#17580)
Follow-up to https://github.com/vercel/next.js/pull/17533 this makes sure the file used to signal release stats should be skipped for a non-release merge is created in a location that is accessible by the stats action and also updates the release action info detection for the new workflow
2020-10-05 09:32:12 +00:00
JJ Kasper
f27e1f85ac
Update release stats workflow (#17533)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-02 21:12:12 -05:00
Tim Neutkens
79f060eeba Update workflow to use latest webpack 5 beta 2020-09-12 15:24:20 +02:00
Joe Haddad
f921b4f476
Auto enable React's new JSX transform on 17.x (#16603) 2020-09-01 11:29:25 -04:00
Kristoffer K
2e6bc8eba4
ci: add pnp test (#16255) 2020-08-17 13:39:57 -04:00
Tim Neutkens
89c5689dc9
Update labeler to include next-codemod (#16041) 2020-08-10 16:24:28 +02:00
Steven
c642999325
Test macOS on canary with separate workflow (#15901)
Follow up to #15899 since it didn't solve the [concurrency limit](https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits) issue.

It seems that the job is queued prior to the `if` statement being evaluated so we must use a separate workflow to listen for push events and filter prior to the job being queued.
2020-08-05 14:13:41 +00:00
Steven
afc225c43d
Test macOS on canary (#15899)
Only run macOS tests on canary to avoid queued jobs due to [concurrency limit](https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits).

Follow up to #15366
2020-08-05 13:13:42 +00:00
Joe Haddad
3d98171dab
Test webpack 5 beta (#15645) 2020-07-29 19:19:32 -04:00
Jan Potoms
9ab78bbae7
retry installs on macos (#15641) 2020-07-29 15:53:37 -04:00
Jan Potoms
e4e3ad38fd
Upgrade actions/cache to v2.1.0 (#15415) 2020-07-23 00:06:50 -04:00
Darsh Patel
7a266a914e
Added production, basic, and Fast Refresh test suites on macOS (#15366) 2020-07-21 11:50:49 -04:00
Jan Potoms
14f1a7b27a
Positive req/seq change is not a warning (#14640)
Tweak PR stats message for req/sec metrics. I think they should warn when they are negative, not when positive
2020-06-28 15:47:44 +00:00
JJ Kasper
10fda8a9b9
Update stats action for running locally (#14143)
Noticed a few things that could be updated to make running the stats locally better e.g. if the folder name didn't match the name of the repo in the `stats-config.js` file it would fail to run and the `yarn` cache could break diffing from a cached package being used instead
2020-06-13 10:31:12 +00:00
matamatanot
38519c626e
refactor: Use native fs instead of fs-extra and promisify (#13841)
**add-comment.js**
`writeFile` is not unique to `fs-extra`. 

**lib/find-page-file.ts**
ref: #12026
2020-06-06 15:40:06 +00:00
JJ Kasper
aa7e15c1de
Add initial labeler WebHook config (#13772)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-06-05 11:44:38 +02:00
Joe Haddad
c85aa63bbc
Simplify CODEOWNERS (#13679) 2020-06-02 17:15:55 +00:00
Joe Haddad
b7e17e09e5
Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
JJ Kasper
d56d5e6855
Update PR stats action branch check (#13394) 2020-05-26 09:44:17 -05:00
JJ Kasper
da5a05dc87
Migrate PR stats action into Next.js repo (#13177)
* Migrate PR stats into Next.js repo

* Update running prettier in local mode
2020-05-21 14:07:27 +02:00
Joe Haddad
b3e5233649
Revert "Enable update_branch_immediately"
This reverts commit b0a020e8ef.
2020-05-19 22:32:26 -04:00
Joe Haddad
b0a020e8ef
Enable update_branch_immediately 2020-05-19 21:56:06 -04:00
Joe Haddad
670b2c15cd
Add Kodiak Configuration (#13103) 2020-05-19 13:06:42 -04:00
Joe Haddad
3288543256
Revert "Add PR labeler action" (#13055) 2020-05-18 12:38:52 -04:00
Rafael Almeida
d2c2dc7732
Add PR labeler action (#13054) 2020-05-18 12:31:40 -04:00
JJ Kasper
4d0578bf05
Add retrying to cross browser tests (#12946) 2020-05-15 16:13:37 -04:00
Allen Hai
0c6ee2c760
Add userbase example (#12150)
* add userbase example

* update readme and add now.json with build.env

* update deploy button import path for testing

* update readme

* update readme with canary tree path for deploy button

* remove prepopulated test username + password

* Apply lint-fix

* add deployed demo link

* remove merge conflict arrows

* fix lint errors

* run yarn lint-fix

* add .env.example and update readme with config steps

* add dotenv and update next.config.js

Co-authored-by: Matthew Sweeney <mail@msweeneydev.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-04-23 19:56:42 -05:00
JJ Kasper
7d6fbe7fd6
Add Node.js version to Bug template (#11781) 2020-04-10 12:30:44 +02:00
JJ Kasper
84b89c8b24
Pre-ncc compiled packages to prevent re-nccing unnecessarily (#11569)
* Pre-ncc compiled packages to prevent re-nccing unnecessarily

* Add compiled files

* Re-run pre-ncc step

* Add check to workflow to ensure pre-compiled doesnt need updating

* Update check-pre-compiled script

* Add handling for lower case license while nccing

* bump

Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 09:42:16 -04:00
JJ Kasper
da329ce44b
Update release stats with different name from pr stats (#10827) 2020-03-04 11:28:10 -06:00
JJ Kasper
8390a474fe
Update to output jest data for posting failed tests comment (#10814)
* Update to output jest data for posting failed tests comment

* Add failing test

* Reset retries

* Revert change for testing
2020-03-04 09:54:49 +01:00
JJ Kasper
ad1a061f88
Remove old env from workflow since it is replaced with WebHook (#10798)
* Remove old env from workflow since it is replaced with WebHook

* bump

* bump
2020-03-02 17:48:06 -06:00
Tim Neutkens
3b28702983
Update config.yml 2020-02-25 13:24:06 +01:00
Tim Neutkens
fc9f18d784
Update 1.Bug_report.md 2020-02-25 13:22:48 +01:00
Tim Neutkens
297c23d9cf
Delete 3.Example_Bug_report.md 2020-02-25 13:22:28 +01:00
Tim Neutkens
06afa0a09c
Delete 8.Question_about_next.md 2020-02-25 13:21:42 +01:00
Tim Neutkens
cedd6faba6
Create config.yml 2020-02-25 13:20:49 +01:00
Tim Neutkens
b331338891 Update link to GitHub Discussions beta 2020-02-22 14:00:37 +01:00
JJ Kasper
00855de60a
Add navigation test specific for Safari 10 (#10616)
* Add testing in Safari 10.1 on merge

* Add nav test specific for Safari 10
2020-02-20 13:35:28 -05:00
JJ Kasper
73972577e1
Increase watch limit for GitHub actions testing (#10367) 2020-01-31 19:57:58 -05:00
JJ Kasper
e6f401cadf
Disable caching for react@next workflow as its not supported (#10331)
* Disable caching for react@next workflow as its not support

* Disable needs build

* Also add checkout step

* Remove running on pull_request from testing
2020-01-30 00:14:50 -05:00
JJ Kasper
7e2170b03e
Update workflow for testing against react@next (#10323) 2020-01-29 10:39:15 -06:00
JJ Kasper
8581172654 Allowing skipping local selenium server when not needed (#10312)
* Disable local selenium server when not needed

* Disable skipping for firefox as it appears to be needed still
2020-01-28 14:04:00 -05:00
JJ Kasper
c0eaf98d17 Update actions config for canary jobs (#10299)
* Update actions config for canary jobs

* Update exiting for mising value and size limit test

* Update config

* Update check

* Update check

* Remove extra check
2020-01-27 23:48:52 -05:00
JJ Kasper
ac6a7f9650
Update test pass job name 2020-01-27 14:19:44 -06:00
JJ Kasper
cf5fbb313d
Update pass job name 2020-01-27 14:15:42 -06:00
JJ Kasper
9145d9ea63
Migrate CircleCi config to GitHub actions (#10274)
* Add initial config

* Comment out other action

* Update config

* Update config

* Update configs

* rename requires -> needs

* Update configs

* Update configs

* Enable headless mode

* Disable circleci while testing

* Disable build-test-deploy in circle

* Update build step

* Disable fail fast

* Update configs

* Add runs-on to publish steps

* bump

* Update config

* Update group count

* Update checkout path

* Update test all concurrency

* Handle EPIPE errors

* Revert "Handle EPIPE errors"

This reverts commit a993565bbdd77df136e07d54eb83ed32b18e5963.

* Update test to handle EPIPE in test

* Remove CircleCi config

* Revert "Update test to handle EPIPE in test"

This reverts commit c8cb72d5303b5fd165016f9eba6c8c888d8a1907.

* Update to use node 10 and see if EPIPE error is still present

* Revert "Revert "Update test to handle EPIPE in test""

This reverts commit efd2abe7c35c12bf78530064796d853c171efcf1.

* Revert "Update to use node 10 and see if EPIPE error is still present"

This reverts commit 893da4f31279228ebec6fa208c34ef179a6ebaf4.

* Add todo for node issue

* undo lint change as it should be correct

* Add dummy step to require

* Add runs-on for dummy job
2020-01-27 14:07:31 -06:00
Lukáš Huvar
7863b60ef6 Prettier fix (#8754) 2019-09-16 15:24:42 +02:00
JJ Kasper
5c83684b89
Update pull_request workflow 2019-09-13 12:03:36 -05:00
JJ Kasper
80ab8dd991
Update actions config 2019-09-12 13:20:30 -05:00
JJ Kasper
85f96c8fb8
Migrate GitHub Action config and remove un-used secret (#8719) 2019-09-12 13:13:15 -05:00
Joe Haddad
a271ab3633
Add a fallback CODEOWNER 2019-08-19 23:14:11 -04:00