Skip to content

Commit fad8b42

Browse files
authored
Merge branch 'canary' into feat/transform-runtime-version
2 parents e6375e4 + ec658fc commit fad8b42

File tree

963 files changed

+20216
-12588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

963 files changed

+20216
-12588
lines changed

.circleci/config.yml

Lines changed: 22 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ aliases:
2020
# Executors
2121
#########################
2222

23+
orbs:
24+
win: circleci/[email protected]
25+
2326
executors:
2427
node:
2528
docker:
26-
- image: circleci/node@sha256:8631b3dc0f49fc179940bbd4254ced0c41b99d02bfdbf1d8bdd4d0b135e3ee5f
29+
- image: circleci/node:10-browsers
2730
working_directory: ~/repo
2831

2932
#########################
@@ -36,13 +39,6 @@ commands:
3639
- run:
3740
name: Installing Dependencies
3841
command: yarn install --frozen-lockfile --check-files
39-
- run:
40-
name: Install correct Chrome Driver version
41-
command: node node_modules/chromedriver/install.js
42-
environment:
43-
CHROMEDRIVER_VERSION: '76.0.3809.68'
44-
- run: google-chrome --version
45-
- run: yarn chromedriver --version
4642
yarn_lint:
4743
steps:
4844
- run:
@@ -53,15 +49,15 @@ commands:
5349
- run:
5450
name: Upgrade to most recent release in React's Next channel
5551
command: yarn upgrade react@next react-dom@next -W --dev # upgrade (vs add) will skip re-building Next.js, which doesn't bundle React internals (so this is OK!)
56-
environment:
57-
CHROMEDRIVER_VERSION: '76.0.3809.68'
5852
yarn_info:
5953
steps:
6054
- run:
6155
name: React Versions
6256
command: yarn why react && yarn why react-dom
6357
test_all:
6458
steps:
59+
- run: google-chrome --version
60+
- run: chromedriver --version
6561
- run:
6662
name: Run All Tests
6763
command: |
@@ -71,22 +67,22 @@ commands:
7167
)
7268
environment:
7369
NEXT_TELEMETRY_DISABLED: '1'
74-
test_browser:
75-
parameters:
76-
browser:
77-
type: string
70+
test_safari:
7871
steps:
7972
- run:
80-
name: Test in a browser
73+
name: Test Safari
8174
command: |
82-
if [[ ! -z $BROWSERSTACK_USERNAME ]]; then
83-
yarn testall test/integration/production/
84-
else
85-
echo "Not running for PR"
86-
fi
75+
yarn testsafari --forceExit test/integration/production/
8776
environment:
77+
NEXT_TELEMETRY_DISABLED: '1'
8878
BROWSERSTACK: 'true'
89-
BROWSER_NAME: << parameters.browser >>
79+
test_firefox:
80+
steps:
81+
- run:
82+
name: Test Firefox
83+
command: |
84+
yarn testfirefox --forceExit test/integration/production/
85+
environment:
9086
NEXT_TELEMETRY_DISABLED: '1'
9187
save_npm_token:
9288
steps:
@@ -151,24 +147,16 @@ jobs:
151147
- yarn_info
152148
- test_all
153149
- *store_test_results
154-
test-ie11:
155-
executor: node
156-
steps:
157-
- *attach_workspace
158-
- test_browser:
159-
browser: 'ie'
160150
test-safari:
161151
executor: node
162152
steps:
163153
- *attach_workspace
164-
- test_browser:
165-
browser: 'safari'
154+
- test_safari
166155
test-firefox:
167156
executor: node
168157
steps:
169158
- *attach_workspace
170-
- test_browser:
171-
browser: 'firefox'
159+
- test_firefox
172160
deploy:
173161
executor: node
174162
steps:
@@ -186,41 +174,23 @@ workflows:
186174
build-test-and-deploy:
187175
jobs:
188176
- build
189-
- test:
190-
requires:
191-
- build
192-
- lint:
177+
- test-firefox:
193178
requires:
194179
- build
195-
- test-ie11:
180+
- test:
196181
requires:
197182
- build
198-
filters:
199-
branches:
200-
only:
201-
- master
202-
- canary
203183
- test-safari:
204184
requires:
205185
- build
206-
- test
207-
- test-ie11
208186
filters:
209187
branches:
210188
only:
211189
- master
212190
- canary
213-
- test-firefox:
191+
- lint:
214192
requires:
215193
- build
216-
- test
217-
- test-ie11
218-
- test-safari
219-
filters:
220-
branches:
221-
only:
222-
- master
223-
- canary
224194
- deploy:
225195
requires:
226196
- test

.prettierignore_staged

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/.next/**
2+
**/_next/**
3+
**/dist/**

0 commit comments

Comments
 (0)