File tree Expand file tree Collapse file tree 7 files changed +141
-128
lines changed Expand file tree Collapse file tree 7 files changed +141
-128
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Behavior
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ${{ matrix.os }}
8
+ timeout-minutes : 20
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu-latest, macos-latest, windows-latest]
12
+ node : [10, 12]
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : actions/setup-node@v1
16
+ with :
17
+ node-version : ${{ matrix.node }}
18
+ - name : Get yarn cache
19
+ id : yarn-cache
20
+ run : echo "::set-output name=dir::$(yarn cache dir)"
21
+ - name : Cache node modules
22
+ uses : actions/cache@v1
23
+ with :
24
+ path : ${{ steps.yarn-cache.outputs.dir }}
25
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26
+ restore-keys : |
27
+ ${{ runner.os }}-yarn-
28
+ - name : Configure git
29
+ run : |
30
+ git config --global core.autocrlf false
31
+ git config --global user.name "Create React App"
32
+ git config --global user.email "cra@example.com"
33
+ - name : Install
34
+ run : yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
35
+ - name : Test
36
+ run : tasks/e2e-behavior.sh
Original file line number Diff line number Diff line change
1
+ name : Installs
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ timeout-minutes : 20
9
+ strategy :
10
+ matrix :
11
+ node : [10, 12]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - name : Get yarn cache
18
+ id : yarn-cache
19
+ run : echo "::set-output name=dir::$(yarn cache dir)"
20
+ - name : Cache node modules
21
+ uses : actions/cache@v1
22
+ with :
23
+ path : ${{ steps.yarn-cache.outputs.dir }}
24
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-yarn-
27
+ - name : Configure git
28
+ run : |
29
+ git config --global core.autocrlf false
30
+ git config --global user.name "Create React App"
31
+ git config --global user.email "cra@example.com"
32
+ - name : Install
33
+ run : yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34
+ - name : Test
35
+ run : tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
1
+ name : Kitchensink Eject
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ timeout-minutes : 20
9
+ strategy :
10
+ matrix :
11
+ node : [10, 12]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - name : Get yarn cache
18
+ id : yarn-cache
19
+ run : echo "::set-output name=dir::$(yarn cache dir)"
20
+ - name : Cache node modules
21
+ uses : actions/cache@v1
22
+ with :
23
+ path : ${{ steps.yarn-cache.outputs.dir }}
24
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-yarn-
27
+ - name : Configure git
28
+ run : |
29
+ git config --global core.autocrlf false
30
+ git config --global user.name "Create React App"
31
+ git config --global user.email "cra@example.com"
32
+ - name : Install
33
+ run : yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34
+ - name : Test
35
+ run : tasks/e2e-kitchensink-eject.sh
Original file line number Diff line number Diff line change
1
+ name : Kitchensink
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ timeout-minutes : 20
9
+ strategy :
10
+ matrix :
11
+ node : [10, 12]
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - name : Get yarn cache
18
+ id : yarn-cache
19
+ run : echo "::set-output name=dir::$(yarn cache dir)"
20
+ - name : Cache node modules
21
+ uses : actions/cache@v1
22
+ with :
23
+ path : ${{ steps.yarn-cache.outputs.dir }}
24
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-yarn-
27
+ - name : Configure git
28
+ run : |
29
+ git config --global core.autocrlf false
30
+ git config --global user.name "Create React App"
31
+ git config --global user.email "cra@example.com"
32
+ - name : Install
33
+ run : yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34
+ - name : Test
35
+ run : tasks/e2e-kitchensink.sh
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments