@@ -22,83 +22,89 @@ jobs:
2222 test-all-packages :
2323 name : Ember Tests
2424 runs-on : ${{ matrix.os }}
25+ timeout-minutes : 15
2526
2627 strategy :
28+ fail-fast : false
2729 matrix :
2830 node-version : [16.x, 14.x]
2931 os : [ubuntu-latest, windows-latest]
3032
3133 steps :
3234 - name : Checkout Code
33- uses : actions/checkout@v2
35+ uses : actions/checkout@v3
36+ - uses : pnpm/action-setup@v2
37+ with :
38+ version : 7
3439 - name : Use Node.js ${{ matrix.node-version }}
35- uses : actions/setup-node@v2
40+ uses : actions/setup-node@v3
3641 with :
3742 node-version : ${{ matrix.node-version }}
38- cache : yarn
39- - name : Yarn Install
40- run : yarn install --ignore-engines --frozen-lockfile
41- - name : Run ember-cli-fastboot Tests
42- run : yarn workspace ember-cli-fastboot test:ember
43+ cache : pnpm
44+ - run : pnpm install --frozen-lockfile
45+ - run : pnpm test:ember-cli-fastboot
4346 - name : Run fastboot Tests
4447 if : ${{ matrix.os != 'windows-latest' }}
45- run : yarn workspace fastboot test
46- - name : Run fastboot-express-middleware Tests
47- run : yarn workspace fastboot-express-middleware test
48- - name : Run fastboot-app-server Tests
49- run : yarn workspace fastboot-app-server test:mocha
48+ run : pnpm test:fastboot
49+ - run : pnpm test:fastboot-express-middleware
50+ - run : pnpm test:fastboot-app-server
5051
5152 integration-tests :
5253 name : Integration Tests
5354 runs-on : ${{ matrix.os }}
55+ timeout-minutes : 15
5456
5557 strategy :
58+ fail-fast : false
5659 matrix :
5760 node-version : [16.x, 14.x]
5861 os : [ubuntu-latest, windows-latest]
5962
6063 steps :
6164 - name : Checkout Code
62- uses : actions/checkout@v2
65+ uses : actions/checkout@v3
66+ - uses : pnpm/action-setup@v2
67+ with :
68+ version : 7
6369 - name : Use Node.js ${{ matrix.node-version }}
64- uses : actions/setup-node@v2
70+ uses : actions/setup-node@v3
6571 with :
6672 node-version : ${{ matrix.node-version }}
67- cache : yarn
68- - name : Yarn Install
69- run : yarn install --ignore-engines --frozen-lockfile
70- - name : Integration Tests
71- run : yarn workspace integration-tests test
73+ cache : pnpm
74+ - run : pnpm install --frozen-lockfile
75+ - run : pnpm test:integration
7276
7377 test-packages :
7478 name : Test Packages
7579 runs-on : ${{ matrix.os }}
80+ timeout-minutes : 15
7681
7782 strategy :
83+ fail-fast : false
7884 matrix :
7985 node-version : [16.x, 14.x]
8086 os : [ubuntu-latest, windows-latest]
8187
8288 steps :
8389 - name : Checkout Code
84- uses : actions/checkout@v2
90+ uses : actions/checkout@v3
91+ - uses : pnpm/action-setup@v2
92+ with :
93+ version : 7
8594 - name : Use Node.js ${{ matrix.node-version }}
86- uses : actions/setup-node@v2
95+ uses : actions/setup-node@v3
8796 with :
8897 node-version : ${{ matrix.node-version }}
89- cache : yarn
90- - name : Yarn Install
91- run : yarn install --ignore-engines --frozen-lockfile
92- - name : Basic App
93- run : yarn workspace basic-app test:mocha
94- - name : Custom App
95- run : yarn workspace custom-fastboot-app test:mocha
96- - name : Run ember-cli-fastboot-testing-app Tests
97- run : yarn workspace ember-cli-fastboot-testing-app test:ember
98+ cache : pnpm
99+ - run : pnpm install --frozen-lockfile
100+ - run : pnpm --filter basic-app test:mocha
101+ - run : pnpm --filter custom-fastboot-app test:mocha
102+ - run : pnpm --filter ember-cli-fastboot-testing-app test:ember
98103
99104 test-legacy-mocha :
100105 name : Legacy Mocha Tests - ${{ matrix.node-version }}
101106 runs-on : ubuntu-latest
107+ timeout-minutes : 15
102108
103109 strategy :
104110 fail-fast : false
@@ -107,17 +113,17 @@ jobs:
107113
108114 steps :
109115 - name : Checkout Code
110- uses : actions/checkout@v2
116+ uses : actions/checkout@v3
117+ - uses : pnpm/action-setup@v2
118+ with :
119+ version : 7
111120 - name : Use Node.js ${{ matrix.node-version }}
112- uses : volta-cli/action@v1
121+ uses : actions/setup-node@v3
113122 with :
114123 node-version : ${{ matrix.node-version }}
115- - name : Yarn Install
116- run : |
117- yarn install --ignore-engines --frozen-lockfile
118- - name : Run Mocha Tests
119- run : |
120- yarn workspace ember-cli-fastboot test:mocha
124+ cache : pnpm
125+ - run : pnpm install --frozen-lockfile
126+ - run : pnpm --filter ember-cli-fastboot test:mocha
121127
122128 try-scenarios :
123129 name : " ember-try for ember-cli-fastboot: ${{ matrix.ember-try-scenario }}"
@@ -144,11 +150,14 @@ jobs:
144150 - ember-release-no-deprecations
145151
146152 steps :
147- - uses : actions/checkout@v2
148- - uses : actions/setup-node@v2
153+ - uses : actions/checkout@v3
154+ - uses : pnpm/action-setup@v2
155+ with :
156+ version : 7
157+ - uses : actions/setup-node@v3
149158 with :
150159 node-version : 14
151- cache : yarn
152- - run : yarn install --ignore-engines --frozen-lockfile
160+ cache : pnpm
161+ - run : pnpm install --frozen-lockfile
153162 - name : test
154- run : yarn workspace ember-cli-fastboot ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
163+ run : pnpm --filter ember-cli-fastboot exec ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
0 commit comments