@@ -20,20 +20,18 @@ jobs:
2020 runs-on : ubuntu-latest
2121 timeout-minutes : 7
2222 steps :
23- - name : Check out a copy of the repo
24- uses : actions/checkout@v3
25-
26- - name : Use Node.js ${{ env.NODE_VERSION }}
23+ - uses : actions/checkout@v4
24+ - name : Install Node
2725 uses : actions/setup-node@v3
2826 with :
29- node-version : ${{ env.NODE_VERSION }}
30- cache : yarn
31-
27+ node-version : 18.x
28+ - uses : pnpm/action-setup@v2
29+ with :
30+ version : 9
3231 - name : Install dependencies
33- run : yarn install --frozen-lockfile
34-
32+ run : pnpm i --frozen-lockfile
3533 - name : Lint
36- run : yarn lint
34+ run : pnpm lint
3735
3836 test-addon-floating :
3937 name : Test addon (floating dependencies)
@@ -47,20 +45,20 @@ jobs:
4745 - ' test-apps'
4846 timeout-minutes : 7
4947 steps :
50- - name : Check out a copy of the repo
51- uses : actions/checkout@v3
52-
53- - name : Use Node.js ${{ env.NODE_VERSION }}
48+ - uses : actions/checkout@v4
49+ - name : Install Node
5450 uses : actions/setup-node@v3
5551 with :
56- node-version : ${{ env.NODE_VERSION }}
57- cache : yarn
52+ node-version : 18.x
53+ - uses : pnpm/action-setup@v2
54+ with :
55+ version : 9
5856
5957 - name : Install dependencies
60- run : yarn install --no-lockfile --non-interactive
58+ run : pnpm i --no-lockfile
6159
6260 - name : Test
63- run : yarn test:${{ matrix.script-name }}
61+ run : pnpm test:${{ matrix.script-name }}
6462
6563 test-addon-locked :
6664 name : Test addon (locked dependencies)
@@ -74,20 +72,20 @@ jobs:
7472 - ' test-apps'
7573 timeout-minutes : 7
7674 steps :
77- - name : Check out a copy of the repo
78- uses : actions/checkout@v3
79-
80- - name : Use Node.js ${{ env.NODE_VERSION }}
75+ - uses : actions/checkout@v4
76+ - name : Install Node
8177 uses : actions/setup-node@v3
8278 with :
83- node-version : ${{ env.NODE_VERSION }}
84- cache : yarn
79+ node-version : 18.x
80+ - uses : pnpm/action-setup@v2
81+ with :
82+ version : 9
8583
8684 - name : Install dependencies
87- run : yarn install --frozen-lockfile
85+ run : pnpm i --frozen-lockfile
8886
8987 - name : Test
90- run : yarn test:${{ matrix.script-name }}
88+ run : pnpm test:${{ matrix.script-name }}
9189
9290 test-compatibility :
9391 name : Test compatibility
@@ -99,26 +97,27 @@ jobs:
9997 - ember-lts-4.4
10098 - ember-lts-4.8
10199 - ember-lts-4.12
100+ - ember-lts-5.4
102101 - ember-release
103102 - ember-beta
104103 - ember-canary
105104 - embroider-safe
106105 timeout-minutes : 7
107106 steps :
108- - name : Check out a copy of the repo
109- uses : actions/checkout@v3
110-
111- - name : Use Node.js ${{ env.NODE_VERSION }}
107+ - uses : actions/checkout@v4
108+ - name : Install Node
112109 uses : actions/setup-node@v3
113110 with :
114- node-version : ${{ env.NODE_VERSION }}
115- cache : yarn
111+ node-version : 18.x
112+ - uses : pnpm/action-setup@v2
113+ with :
114+ version : 9
116115
117116 - name : Install dependencies
118- run : yarn install --frozen-lockfile
117+ run : pnpm i --frozen-lockfile
119118
120119 - name : Test
121- run : ./node_modules/.bin/ ember try:one ${{ matrix.try-scenario }}
120+ run : pnpm ember try:one ${{ matrix.try-scenario }}
122121
123122 deploy-app :
124123 name : Deploy app
@@ -145,10 +144,10 @@ jobs:
145144 uses : actions/setup-node@v3
146145 with :
147146 node-version : ${{ env.NODE_VERSION }}
148- cache : yarn
147+ cache : pnpm
149148
150149 - name : Install dependencies
151- run : yarn install --frozen-lockfile
150+ run : pnpm i --frozen-lockfile
152151
153152 - name : Deploy
154- run : yarn deploy
153+ run : pnpm deploy
0 commit comments