File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,28 +12,23 @@ jobs:
1212 steps :
1313 - name : Checkout repository
1414 uses : actions/checkout@v2
15+ - name : Install pnpm
16+ uses : pnpm/action-setup@v4
1517 - name : Install Node.js
1618 uses : actions/setup-node@v4
1719 with :
18- node-version : 20
19- cache : ' npm'
20- cache-dependency-path : ' package-lock.json'
21- - name : Cache npm dependencies
22- uses : actions/cache@v4
23- with :
24- path : ' ~/.npm'
25- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26- restore-keys : |
27- ${{ runner.os }}-node-
28- - name : Show npm version
29- run : npm -v
20+ node-version : 22
21+ cache : ' pnpm'
22+ cache-dependency-path : ' pnpm-lock.yaml'
23+ - name : Show pnpm version
24+ run : pnpm -v
3025 - name : Install dependencies
31- run : npm ci
26+ run : pnpm install --frozen-lockfile
3227 - name : Build project
33- run : npm run build
28+ run : pnpm run build
3429 - name : Setup Chrome
3530 uses : browser-actions/setup-chrome@v1
3631 - name : Test library
37- run : npm run ng test frank-config-layout -- --browsers=ChromeHeadless --watch=false
32+ run : pnpm run ng test frank-config-layout -- --browsers=ChromeHeadless --watch=false
3833 - name : Test playground
39- run : npm run ng test frank-config-layout-playground -- --browsers=ChromeHeadless --watch=false
34+ run : pnpm run ng test frank-config-layout-playground -- --browsers=ChromeHeadless --watch=false
You can’t perform that action at this time.
0 commit comments