@@ -24,77 +24,79 @@ jobs:
2424 runs-on : ${{ matrix.os }}
2525
2626 strategy :
27+ fail-fast : false
2728 matrix :
2829 node-version : [16.x, 14.x]
2930 os : [ubuntu-latest, windows-latest]
3031
3132 steps :
3233 - name : Checkout Code
33- uses : actions/checkout@v2
34+ uses : actions/checkout@v3
35+ - uses : pnpm/action-setup@v2
36+ with :
37+ version : 7
3438 - name : Use Node.js ${{ matrix.node-version }}
35- uses : actions/setup-node@v2
39+ uses : actions/setup-node@v3
3640 with :
3741 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
42+ cache : pnpm
43+ - run : pnpm install --frozen-lockfile
44+ - run : pnpm test:ember-cli-fastboot
4345 - name : Run fastboot Tests
4446 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
47+ run : pnpm test:fastboot
48+ - run : pnpm test:fastboot-express-middleware
49+ - run : pnpm test:fastboot-app-server
5050
5151 integration-tests :
5252 name : Integration Tests
5353 runs-on : ${{ matrix.os }}
5454
5555 strategy :
56+ fail-fast : false
5657 matrix :
5758 node-version : [16.x, 14.x]
5859 os : [ubuntu-latest, windows-latest]
5960
6061 steps :
6162 - name : Checkout Code
62- uses : actions/checkout@v2
63+ uses : actions/checkout@v3
64+ - uses : pnpm/action-setup@v2
65+ with :
66+ version : 7
6367 - name : Use Node.js ${{ matrix.node-version }}
64- uses : actions/setup-node@v2
68+ uses : actions/setup-node@v3
6569 with :
6670 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
71+ cache : pnpm
72+ - run : pnpm install --frozen-lockfile
73+ - run : pnpm test:integration
7274
7375 test-packages :
7476 name : Test Packages
7577 runs-on : ${{ matrix.os }}
7678
7779 strategy :
80+ fail-fast : false
7881 matrix :
7982 node-version : [16.x, 14.x]
8083 os : [ubuntu-latest, windows-latest]
8184
8285 steps :
8386 - name : Checkout Code
84- uses : actions/checkout@v2
87+ uses : actions/checkout@v3
88+ - uses : pnpm/action-setup@v2
89+ with :
90+ version : 7
8591 - name : Use Node.js ${{ matrix.node-version }}
86- uses : actions/setup-node@v2
92+ uses : actions/setup-node@v3
8793 with :
8894 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
95+ cache : pnpm
96+ - run : pnpm install --frozen-lockfile
97+ - run : pnpm --filter basic-app test:mocha
98+ - run : pnpm --filter custom-fastboot-app test:mocha
99+ - run : pnpm --filter ember-cli-fastboot-testing-app test:ember
98100
99101 test-legacy-mocha :
100102 name : Legacy Mocha Tests - ${{ matrix.node-version }}
@@ -107,17 +109,17 @@ jobs:
107109
108110 steps :
109111 - name : Checkout Code
110- uses : actions/checkout@v2
112+ uses : actions/checkout@v3
113+ - uses : pnpm/action-setup@v2
114+ with :
115+ version : 7
111116 - name : Use Node.js ${{ matrix.node-version }}
112- uses : volta-cli/action@v1
117+ uses : actions/setup-node@v3
113118 with :
114119 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
120+ cache : pnpm
121+ - run : pnpm install --frozen-lockfile
122+ - run : pnpm --filter ember-cli-fastboot test:mocha
121123
122124 try-scenarios :
123125 name : " ember-try for ember-cli-fastboot: ${{ matrix.ember-try-scenario }}"
@@ -144,11 +146,14 @@ jobs:
144146 - ember-release-no-deprecations
145147
146148 steps :
147- - uses : actions/checkout@v2
148- - uses : actions/setup-node@v2
149+ - uses : actions/checkout@v3
150+ - uses : pnpm/action-setup@v2
151+ with :
152+ version : 7
153+ - uses : actions/setup-node@v3
149154 with :
150155 node-version : 14
151- cache : yarn
152- - run : yarn install --ignore-engines --frozen-lockfile
156+ cache : pnpm
157+ - run : pnpm install --frozen-lockfile
153158 - name : test
154- run : yarn workspace ember-cli-fastboot ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
159+ run : pnpm --filter ember-cli-fastboot exec ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
0 commit comments