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

[RNMobile] Upgrade to RN 0.64 #29118

Merged
merged 251 commits into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from 245 commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
931d033
Make sure that _input exists.
SergioEstevao Feb 18, 2020
ebfca1d
Fix HtmlTextInput tests.
SergioEstevao Mar 16, 2020
06a3ec5
Fix TextInput mock.
SergioEstevao Mar 17, 2020
14deabf
fix lint errors
marecar3 Mar 25, 2020
dd12e0f
Bump rn to 0.62.2
marecar3 Apr 9, 2020
f67d117
Remove hack as PR fix: https://github.com/facebook/react-native/pull/…
marecar3 Apr 9, 2020
eda1b1d
[iOS] Use react native 0.62 hook for dark mode (#21455)
marecar3 Apr 13, 2020
19b4f3b
Bump react to 16.11.0
marecar3 Apr 25, 2020
433bb17
Use correct version of react and react-dom
marecar3 Apr 25, 2020
8d35244
Framework: Update package-lock.json
aduth Apr 26, 2020
1bc80bd
Update package-lock.json
marecar3 Apr 27, 2020
08c617d
fix package.json
marecar3 Apr 27, 2020
926253f
Apply local changes to package-lock.json
gziolo Apr 29, 2020
885fbe9
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 13, 2020
e26e8d4
Update license checker
marecar3 May 14, 2020
95af74d
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 14, 2020
1e0e194
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 18, 2020
822f0c0
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 20, 2020
01bd36f
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 20, 2020
f7eb39b
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 22, 2020
7ae6244
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 22, 2020
431506b
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 May 22, 2020
b30fe76
Merge
marecar3 May 26, 2020
fe43e8a
Merge branch 'master' into rnmobile/update-rn-0-62
marecar3 Jun 4, 2020
eda1828
Merge branch 'master' into rnmobile/update-rn-0-62
SergioEstevao Jun 29, 2020
0c9067b
Update packages to use RN version 0.62.2
SergioEstevao Jun 29, 2020
c33d823
Merge branch 'master' into rnmobile/update-rn-0-62
SergioEstevao Jul 8, 2020
4755944
Update project locks.
SergioEstevao Jul 8, 2020
90b9afc
Merge branch 'master' into rnmobile/update-rn-0-62
SergioEstevao Jul 10, 2020
e7bcce6
Match babel-preset between react-native-editor and gutenberg packages.
SergioEstevao Jul 13, 2020
a314c66
Update lock file.
SergioEstevao Jul 13, 2020
8b10a7c
Merge branch 'master' into rnmobile/update-rn-0-62
SergioEstevao Jul 13, 2020
4b750ff
Fix package number.
SergioEstevao Jul 13, 2020
11d6bdf
Update podfile.lock
SergioEstevao Jul 14, 2020
6d0d68d
Merge branch 'master' into rnmobile/update-rn-0-63
ceyhun Aug 24, 2020
177fb5f
Update react-native-svg and react-native-video refs
ceyhun Aug 24, 2020
a35f7e4
Update react-native patch to 0.62.2
ceyhun Aug 24, 2020
2c01a36
Upgrade react-native and related packages
ceyhun Aug 24, 2020
0db027d
Update pods
ceyhun Aug 24, 2020
a5ae76d
Add back metro-react-native-babel-transformer
ceyhun Aug 24, 2020
83387e8
Update react-native-keyboard-aware-scroll-view ref
ceyhun Aug 24, 2020
bb50bd3
Update RN version in build.gradle
ceyhun Aug 25, 2020
e4b4b62
Hoist `jsc-android` to top-level node_modules folder
ceyhun Aug 26, 2020
400cd87
Remove metro patch that's no longer needed
ceyhun Aug 26, 2020
ef1774e
Remove flex-wrap from contentContainerStyle of KeyboardAwareFlatList
ceyhun Sep 22, 2020
d401688
Use correct key prop in picker render method
ceyhun Sep 22, 2020
47bd771
Use native ref instead of tag to focus and blur
ceyhun Sep 23, 2020
ace6218
Replace deprecated currentlyFocusedField with currentlyFocusedInput
ceyhun Sep 23, 2020
e001635
Update react-native-keyboard-aware-scroll-view ref
ceyhun Sep 23, 2020
9cc76b2
Revert "Replace deprecated currentlyFocusedField with currentlyFocuse…
ceyhun Oct 1, 2020
f1c73a1
Revert "Use native ref instead of tag to focus and blur"
ceyhun Oct 1, 2020
f0ea684
Use old implementation of TextInputState in AztecView
ceyhun Oct 1, 2020
6ef5d55
Remove RN 0.62 patch
ceyhun Oct 1, 2020
d2c116e
Add RN 0.63 patch
ceyhun Oct 1, 2020
9c76876
Revert "Use old implementation of TextInputState in AztecView"
ceyhun Oct 27, 2020
bf4cb7c
Merge branch 'master' into rnmobile/update-rn-0-63
ceyhun Oct 27, 2020
9f68572
Merge branch 'master' into rnmobile/update-rn-0-63
ceyhun Oct 27, 2020
aabd2b2
Hoist jsc-android to top-level node_modules folder again after mergin…
ceyhun Oct 29, 2020
a84ba59
Update cli-platform-ios path
ceyhun Oct 29, 2020
445bab8
Fix iOS focus/blur crashes via implementing them in native and using …
ceyhun Oct 29, 2020
b7f9db5
Use ref instead of innerRef for react-native-keyboard-aware-scroll-view
ceyhun Oct 29, 2020
58c933c
Merge branch 'master' into rnmobile/update-rn-0-63
ceyhun Oct 29, 2020
7b69f29
Update package-lock.json
ceyhun Oct 29, 2020
10e24f4
Fix bundle commands
ceyhun Oct 29, 2020
50565ba
Update Podfile.lock
ceyhun Oct 29, 2020
9f89349
Update unit test snapshot
ceyhun Oct 29, 2020
6e32bf9
Fix iOS build cache hit test
ceyhun Oct 29, 2020
96c11e9
Bust iOS build cache
ceyhun Oct 29, 2020
7e8136a
Revert "Bust iOS build cache"
ceyhun Oct 30, 2020
f4bda02
Merge branch 'master' into rnmobile/update-rn-0-63
ceyhun Nov 10, 2020
bad6c8a
Bust iOS build cache
ceyhun Nov 10, 2020
c869c2b
Fix hermes CLI name
ceyhun Nov 10, 2020
e141e92
Remove iOS build cache
ceyhun Nov 11, 2020
8bd1bda
Update package-lock.json
ceyhun Nov 11, 2020
ed3058b
Update remaining android files from 0.63 diff
ceyhun Nov 11, 2020
81ebb95
Fix android focus/blur issues
ceyhun Nov 11, 2020
8eb21bb
Replace deprecated currentlyFocusedField
cameronvoell Jan 6, 2021
51a24e5
Prevents immediate crash on physical android devices
cameronvoell Jan 11, 2021
826c318
update deps
dratwas Feb 17, 2021
aebcf82
merge with master
dratwas Feb 18, 2021
4598381
update dependencies
dratwas Feb 19, 2021
4c36e39
update dependencies in react-native-editor
dratwas Feb 19, 2021
af01cdd
merge with master - resolve conflicts
dratwas Feb 19, 2021
be193c1
remove patch for rn 0.63.2
dratwas Feb 19, 2021
94bab2e
update package-lock.json to resolve errors about 2 versions of react …
dratwas Feb 22, 2021
2d30ae9
Update react-native to 0.64.0 stable
cameronvoell Apr 27, 2021
da36081
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
cameronvoell Apr 29, 2021
7c61d7d
Update to React 17.0.1
youknowriad Nov 10, 2020
4fbfc82
Update test utilities
youknowriad Nov 30, 2020
4fe9de2
Suppress console warnings when unmounting refs
youknowriad Jan 14, 2021
99338f3
Update enzyme adapter import
WunderBart Mar 16, 2021
7b2aefb
Fix failing Sandbox spec
WunderBart Mar 16, 2021
251eb49
Upgrade Reakit version
diegohaz Apr 23, 2021
79b51c9
Add workaround for enzyme adapter unmount issue
vdwijngaert Apr 29, 2021
dbb4b3d
Updates snapshots to reflect changes to reakit handling popovers
vdwijngaert Apr 29, 2021
b3f760d
Upgrade cocoapods gem to 1.10.1
ceyhun Apr 29, 2021
4b2c099
Add workaround for https://github.com/facebook/react-native/issues/31034
ceyhun Apr 29, 2021
08b9427
Fix for react-native-gesture-handler, missing import
cameronvoell May 7, 2021
d1125b5
Remove top-level dependencies
ceyhun May 11, 2021
dc88a0f
Downgrade react types
ceyhun May 11, 2021
3fdfea6
Fix Xcode shell script `Bundle React Native code and images`
ceyhun May 12, 2021
f24a982
Add workaround for another iOS build error
ceyhun May 12, 2021
41759cf
Changes after running pod install
ceyhun May 12, 2021
da3354c
Update react-native-svg ref
ceyhun May 12, 2021
345499b
Re-install @wordpress/react-native-editor
ceyhun May 12, 2021
642bf9c
Changes after running pod install
ceyhun May 12, 2021
8c0a075
Update react-native-keyboard-aware-scroll-view ref
ceyhun May 12, 2021
fbf0eb2
Update react-native-gesture-handler to fix android build issue
cameronvoell May 13, 2021
1975429
Updating gesture-handler again after updating to 0.64.0 stable
cameronvoell May 13, 2021
41968e2
Re-added focus/blur fix that was overridden during last update with t…
cameronvoell May 13, 2021
146a51e
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
cameronvoell May 14, 2021
6223288
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
cameronvoell May 14, 2021
3a2488a
Changes after running npm install
ceyhun May 17, 2021
05d7622
Fix hermes cli path
ceyhun May 17, 2021
ac3fe9a
Remove iOS npm cache
ceyhun May 18, 2021
c566320
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 18, 2021
96b2bc3
Delete all other workflows
ceyhun May 19, 2021
141fcff
Debug CI
ceyhun May 19, 2021
9a59ef9
Move packages under packages/react-native-editor/node_modules to top-…
ceyhun May 19, 2021
84d9f03
Add `--no-jetifier` and `--no-packager` params to "react-native run-a…
ceyhun May 19, 2021
1264fac
Revert "Debug CI"
ceyhun May 19, 2021
17ce11e
Revert "Delete all other workflows"
ceyhun May 19, 2021
b829cee
Upload npm logs as artifacts
ceyhun May 19, 2021
446881c
Add @react-native to transformIgnorePatterns in jest config
ceyhun May 19, 2021
d001423
Add patch to disable metro watch
ceyhun May 19, 2021
69036de
fix location for NativeAnimatedHelper
cameronvoell May 20, 2021
da25174
Revert "Add patch to disable metro watch"
ceyhun May 20, 2021
91d2382
Try force cleaning npm cache
ceyhun May 20, 2021
41b55c5
Mock RNGestureHandlerModule manually
ceyhun May 20, 2021
d90bd09
Upgrade react-test-renderer to 17.0.1
ceyhun May 20, 2021
9cfe46d
Install and use @wojtekmaj/enzyme-adapter-react-17
ceyhun May 20, 2021
4ad86a4
Re-add core-js using the same version in @wordpress/babel-preset-default
ceyhun May 20, 2021
97abd78
Add workaround for https://github.com/facebook/react-native/issues/31034
ceyhun May 20, 2021
a74d6cd
Remove temp directory from s3 for hermes / RN binaries
cameronvoell May 20, 2021
0b1cb83
Updated s3 react-native-mirror location
cameronvoell May 20, 2021
997ece5
Updated android binary locations
cameronvoell May 20, 2021
ac8c531
Update sleep time after aztec publish from 30 sec to 2 min
cameronvoell May 20, 2021
12975b9
Adding s3 maven directory
cameronvoell May 20, 2021
b58d994
Remove react-native-mirror frmo gradle file
cameronvoell May 21, 2021
f2396e2
Fix lint error
ceyhun May 21, 2021
6401f98
Updated react native libs refs
cameronvoell May 21, 2021
8165580
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
cameronvoell May 21, 2021
c6c9344
Try npm cache verify command to fix ios CI
cameronvoell May 21, 2021
66b9251
Set sleep time after rn-aztec publish back to 30 sec
cameronvoell May 22, 2021
a900dee
Added npm logs as artifacts for android ci job
cameronvoell May 22, 2021
b4b9333
Debug CI
ceyhun May 25, 2021
c192e97
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 25, 2021
f8396ed
Remove Xcode 12.5 RN patch
ceyhun May 25, 2021
c200f6d
Use same core-js version with @wordpress/babel-preset-default
ceyhun May 25, 2021
c053b3b
Try npm install
ceyhun May 25, 2021
8a79157
Try npm install
ceyhun May 25, 2021
0ee9712
Revert "Debug CI"
ceyhun May 25, 2021
0a89eb0
Revert "Try npm cache verify command to fix ios CI"
ceyhun May 25, 2021
0a6c7d1
Revert "Try force cleaning npm cache"
ceyhun May 25, 2021
6ff84d8
Revert "Remove iOS npm cache"
ceyhun May 25, 2021
3a701b4
Revert "Upload npm logs as artifacts"
ceyhun May 25, 2021
dd8b910
Trigger CI
ceyhun May 26, 2021
78e9d38
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 26, 2021
9c21f8a
Try removing react-native-prompt-android package
ceyhun May 26, 2021
a6d201d
Remove other workflows
ceyhun May 26, 2021
1006714
Debug CI
ceyhun May 26, 2021
61c7e9c
Debug CI
ceyhun May 26, 2021
e209fde
Revert "Remove other workflows"
ceyhun May 26, 2021
2e67807
Revert "Debug CI"
ceyhun May 26, 2021
5f3d89b
Revert "Debug CI"
ceyhun May 26, 2021
cc47236
Try removing react-native-safe-area-context package
ceyhun May 26, 2021
2efc1c8
Try deleting ~/.npm folder
ceyhun May 27, 2021
feea0ad
Revert "Try deleting ~/.npm folder"
ceyhun May 27, 2021
4818318
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 27, 2021
b4d8a5c
Try node 16
ceyhun May 27, 2021
11bb937
Revert "Try removing react-native-safe-area-context package"
ceyhun May 27, 2021
f051557
Revert "Try removing react-native-prompt-android package"
ceyhun May 27, 2021
3f9fd0c
Revert "Try node 16"
ceyhun May 27, 2021
e8c7016
Try node 16 in every workflow
ceyhun May 27, 2021
1b26322
Clear npm caches in all workflows
ceyhun May 27, 2021
36918cf
Try without rm -rf ~/.npm
ceyhun May 27, 2021
83e7d56
Disable caching ~/.npm in all workflows
ceyhun May 27, 2021
1947595
Try node 14 and only 'rm -rf ~/.npm'
ceyhun May 27, 2021
83a3082
Try node 14 && 'rm -rf ~/.npm' && 'npm cache clean -force'
ceyhun May 27, 2021
98b30e4
Try node 16 && 'npm install -g npm@6' && 'rm -rf ~/.npm'
ceyhun May 27, 2021
b036973
Try node 16 && 'npm install -g npm@6' && 'npm cache clean -force' && …
ceyhun May 27, 2021
d9ccd12
Try node 16 && 'npm cache clean -force' && 'rm -rf ~/.npm' && 'npm in…
ceyhun May 27, 2021
1dae95d
Try node 16 && 'npm cache clean -force' && 'npm install -g npm@6' && …
ceyhun May 27, 2021
abadb6a
Try 'nvm install' && 'npm cache clean -force' && 'rm -rf ~/.npm'
ceyhun May 28, 2021
41e5fe9
Update nvm install command
ceyhun May 28, 2021
0c26aea
Print node, npm version
ceyhun May 28, 2021
a2e6290
nvm install 16
ceyhun May 28, 2021
cd54323
Add --loglevel verbose to npm ci and install
ceyhun May 28, 2021
2b939f0
Try default shell
ceyhun May 28, 2021
fa3b09d
Remove default shell
ceyhun May 28, 2021
2dd9768
Try nvm with node 14
ceyhun May 28, 2021
bb5c002
Try adding back cache clean
ceyhun May 28, 2021
5ae81f3
Try nvm, node 16, npm 6
ceyhun May 28, 2021
2166d0c
Revert github workflow changes
ceyhun May 28, 2021
54d4561
Disable node_modules caches
ceyhun May 28, 2021
a1b45f5
Re-create package-lock.json
ceyhun May 28, 2021
5e9677f
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 28, 2021
33ee342
Revert package-lock.json to trunk
ceyhun May 28, 2021
2b23d32
Try removing packages with package.json files that have changes
ceyhun May 28, 2021
4e93200
Re-add packages with package.json files that have changes
ceyhun May 28, 2021
781e403
Try npm cache verify and --loglevel verbose
ceyhun May 28, 2021
715e5e0
Revert "Try npm cache verify and --loglevel verbose"
ceyhun May 28, 2021
6f72d0b
Use node 12 instead of 14
ceyhun May 28, 2021
509b4af
Revert "Use node 12 instead of 14"
ceyhun May 28, 2021
34f5af7
Replace npm ci with npm install and add error message on git diff
ceyhun May 28, 2021
d67a0c0
Test if a package-lock.json diff is catched on npm install
ceyhun May 28, 2021
9987bb9
Revert "Test if a package-lock.json diff is catched on npm install"
ceyhun May 28, 2021
efab1eb
Remove error message on git diff as it's already checked by 'check-lo…
ceyhun May 28, 2021
24bb837
Convert a remaining npm ci to npm install
ceyhun May 28, 2021
e43bf68
Remove metro assets from iOS build cache
ceyhun May 31, 2021
57d38d9
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun May 31, 2021
f3cd941
Revert "Disable node_modules caches"
ceyhun May 31, 2021
f027bdf
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun Jun 2, 2021
0f312b5
Merge branch 'update/react-17' into rnmobile/try/upgrade-0-64
ceyhun Jun 2, 2021
3bc5f50
Fix error in templates.test after React 17 upgrade
ceyhun Jun 3, 2021
ea50fee
Update react-native-linear-gradient and react-native-hsv-color-picker…
ceyhun Jun 7, 2021
3d7c378
Update react-native-linear-gradient and react-native-hsv-color-picker…
ceyhun Jun 7, 2021
4a6ced1
Update react-native-linear-gradient version
cameronvoell Jun 7, 2021
4e2d37c
Update react-native-hsv-color-picker ref
ceyhun Jun 8, 2021
36fd0c6
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun Jun 8, 2021
2ac9950
Update to React 17.0.1
youknowriad Nov 10, 2020
cb718e6
Update test utilities
youknowriad Nov 30, 2020
c9331f5
Suppress console warnings when unmounting refs
youknowriad Jan 14, 2021
17a4cb1
Update enzyme adapter import
WunderBart Mar 16, 2021
15fd0f4
Fix failing Sandbox spec
WunderBart Mar 16, 2021
00d1f7f
Upgrade Reakit version
diegohaz Apr 23, 2021
05b9704
Add workaround for enzyme adapter unmount issue
vdwijngaert Apr 29, 2021
9d69bd7
Updates snapshots to reflect changes to reakit handling popovers
vdwijngaert Apr 29, 2021
d3198a1
Fix error in templates.test after React 17 upgrade
ceyhun Jun 3, 2021
a865b92
Fix remaining e2e test failure
youknowriad Jun 10, 2021
1d9a6b7
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun Jun 14, 2021
e3d0e7e
Bump react-native-safe-area-context to v3.2.0
hypest Jun 8, 2021
affca39
Bump to include build fixes for react-native-safe-area-context
hypest Jun 8, 2021
0e61675
Bump react-native-safe-area-context to include using RN 0.64
hypest Jun 9, 2021
6ee49b9
Bump react-native-slider to include using RN 0.64
hypest Jun 9, 2021
80cdd5c
Bump react-native-get-random-values to include using RN 0.64
hypest Jun 9, 2021
090c2b9
Bump react-native-masked-view to include using RN 0.64
hypest Jun 9, 2021
f7221cb
Bump react-native-screens to include using RN 0.64
hypest Jun 9, 2021
7f5b6e1
Bump react-native-reanimated to include using RN 0.64
hypest Jun 9, 2021
1ead654
Bump react-native-prompt-android to include using RN 0.64
hypest Jun 9, 2021
852544b
Merge branch 'update/react-17' into rnmobile/try/upgrade-0-64
ceyhun Jun 14, 2021
e3e80b2
Changes to package-lock.json after running npm install
ceyhun Jun 14, 2021
bb219ba
Changes to Podfile.lock after running npm run native ios
ceyhun Jun 14, 2021
4369752
Trigger CI
ceyhun Jun 14, 2021
3e095a7
Replace setTimeout with jest.advanceTimersByTime
ceyhun Jun 15, 2021
4f88e2f
Move local eslint config to top-level overrides section
ceyhun Jun 15, 2021
85c4331
Replace npm install with npm ci on CI
ceyhun Jun 15, 2021
e8cd4af
Revert workflows that were originally using npm install
ceyhun Jun 15, 2021
0d28ea3
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun Jun 15, 2021
2e5c6f9
Merge branch 'trunk' into rnmobile/try/upgrade-0-64
ceyhun Jun 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:

- name: npm install, build, format and lint
run: |
npm ci
npm install
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why is npm install necessary with React 0.64?

Copy link
Member

@ceyhun ceyhun Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I should've mentioned this in the description, will add it there shortly after.

npm ci was throwing cb() never called! errors randomly both on Linux and macOS on GitHub Actions. We're still not sure what's the reason.
I tried various different combinations of node, npm, caching, etc. also debugging manually. Those attempts can be traced in some of these commits. Only thing that made the cb() never called! errors go away so far was using npm install instead of npm ci. I believe this might be an npm bug and hope it will be fixed with npm@7.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@youknowriad and @desrosj, do you know how to make those GitHub actions work by keeping npm ci that should be faster?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this change is what caused the test to start passing, @desrosj made a change on trunk to improve the situation for these failures already. I think we still have some cases left but less than before.

npm run test:create-block
2 changes: 1 addition & 1 deletion .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Npm install and build
run: |
npm ci
npm install
FORCE_REDUCED_MOTION=true npm run build

- name: Install WordPress
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Npm install
run: |
npm ci
npm install

- name: Compare performance with trunk
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-npm-cache-${{ hashFiles('**/package-lock.json') }}

- run: npm ci
- run: npm install

- name: Restore Gradle cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-npm-cache-${{ hashFiles('**/package-lock.json') }}

- run: npm ci
- run: npm install

- name: Prepare build cache key
run: find package-lock.json packages/react-native-editor/ios packages/react-native-aztec/ios packages/react-native-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt
Expand Down Expand Up @@ -76,7 +76,9 @@ jobs:
run: TEST_RN_PLATFORM=ios npm run native device-tests:local ${{ matrix.native-test-name }}

- name: Prepare build cache
run: rm packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
run: |
rm packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
rm -rf packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/assets

- uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571 # v2.2.2
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.node }}-npm-cache-${{ hashFiles('**/package-lock.json') }}

- name: Install Dependencies
run: npm ci
run: npm install

- name: Build Storybook
run: npm run storybook:build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# source files with `babel-jest`. Some packages have their own custom
# build tasks, however. These must be run.
run: |
npm ci
npm install
npx lerna run build

- name: Running the tests
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Npm install and build
run: |
npm ci
npm install
npm run build

- name: Install WordPress
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
# source files with `babel-jest`. Some packages have their own custom
# build tasks, however. These must be run.
run: |
npm ci
npm install
npx lerna run build

- name: Running the tests
Expand Down
2 changes: 1 addition & 1 deletion bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ done

# Run the build.
status "Installing dependencies... 📦"
npm ci
npm install
status "Generating build... 👷‍♀️"
npm run build

Expand Down
4 changes: 2 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ function gutenberg_register_vendor_scripts( $scripts ) {
gutenberg_register_vendor_script(
$scripts,
'react',
'https://unpkg.com/react@16.13.1/umd/react' . $react_suffix . '.js',
'https://unpkg.com/react@17.0.1/umd/react' . $react_suffix . '.js',
array( 'wp-polyfill' )
);
gutenberg_register_vendor_script(
$scripts,
'react-dom',
'https://unpkg.com/react-dom@16.13.1/umd/react-dom' . $react_suffix . '.js',
'https://unpkg.com/react-dom@17.0.1/umd/react-dom' . $react_suffix . '.js',
array( 'react' )
);

Expand Down
Loading