77 pull_request :
88
99env :
10- NODE_VERSION : 14
10+ NODE_VERSION : 20
1111 PERCY_PARALLEL_NONCE : ${{ github.run_id }}-${{ github.run_number }}
1212 PERCY_PARALLEL_TOTAL : 1
1313
@@ -18,24 +18,24 @@ jobs:
1818 timeout-minutes : 5
1919 steps :
2020 - name : Check out a copy of the repo
21- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2222
23- - name : Check lockfile version
24- uses : mansona/npm-lockfile-version@v1
23+ - uses : pnpm/action-setup@v4
24+ name : Install pnpm
25+ with :
26+ version : 8
2527
2628 - name : Use Node.js ${{ env.NODE_VERSION }}
27- uses : actions/setup-node@v3
29+ uses : actions/setup-node@v4
2830 with :
29- cache : ' npm '
31+ cache : ' pnpm '
3032 node-version : ${{ env.NODE_VERSION }}
3133
32- - run : npm i -g npm@9
33-
3434 - name : Install dependencies
35- run : npm ci
35+ run : pnpm i --frozen-lockfile
3636
3737 - name : Lint
38- run : npm run lint
38+ run : pnpm run lint
3939
4040
4141 test-app :
@@ -44,24 +44,26 @@ jobs:
4444 timeout-minutes : 10
4545 steps :
4646 - name : Check out a copy of the repo
47- uses : actions/checkout@v3
47+ uses : actions/checkout@v4
48+
49+ - uses : pnpm/action-setup@v4
50+ name : Install pnpm
51+ with :
52+ version : 8
4853
4954 - name : Use Node.js ${{ env.NODE_VERSION }}
50- uses : actions/setup-node@v3
55+ uses : actions/setup-node@v4
5156 with :
52- cache : ' npm '
57+ cache : ' pnpm '
5358 node-version : ${{ env.NODE_VERSION }}
5459
55- - run : npm i -g npm@9
56-
57- - name : Install dependencies
58- run : npm ci
60+ - run : pnpm install --frozen-lockfile
5961
60- - run : npm run clone
62+ - run : pnpm run clone
6163
6264 - name : Test
6365 env :
6466 PERCY_PARALLEL_NONCE : ${{ env.PERCY_PARALLEL_NONCE }}
6567 PERCY_PARALLEL_TOTAL : ${{ env.PERCY_PARALLEL_TOTAL }}
6668 PERCY_TOKEN : 5ad6687f6b1ad3dec2b964f94d3d59ff3880baccf1492c0663e85c1ce79c1a52
67- run : npx percy exec -- npm run test:ember
69+ run : pnpm percy exec -- pnpm run test:ember
0 commit comments