File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,22 @@ jobs:
1515
1616 strategy :
1717 matrix :
18- node-version : ['18.13.0', '20 ']
18+ node-version : ['20', ' 18.13.0']
1919
2020 steps :
2121 - uses : actions/checkout@v4
22+ - name : Install pnpm
23+ uses : pnpm/action-setup@v4
24+ with :
25+ version : 9
2226 - name : Use Node.js ${{ matrix.node-version }}
2327 uses : actions/setup-node@v4
2428 with :
2529 node-version : ${{ matrix.node-version }}
2630 - name : Install dependencies
27- run : npm ci
31+ run : pnpm install
2832 - name : Build
2933 run : |
30- npx nx run-many --target=build --all
34+ pnpx nx run-many --target=build --all
3135 env :
3236 CI : true
Original file line number Diff line number Diff line change @@ -15,25 +15,33 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
18+ - name : Install pnpm
19+ uses : pnpm/action-setup@v4
20+ with :
21+ version : 9
1822 - uses : actions/setup-node@v4
1923 with :
2024 node-version : 18.13.0
21- - run : npm ci
25+ - run : pnpm install
2226
2327 publish-npm :
2428 needs : build
2529 runs-on : ubuntu-latest
2630 steps :
2731 - uses : actions/checkout@v4
32+ - name : Install pnpm
33+ uses : pnpm/action-setup@v4
34+ with :
35+ version : 9
2836 - uses : actions/setup-node@v4
2937 with :
3038 node-version : 18.13.0
3139 registry-url : https://registry.npmjs.org/
3240 scope : ' @ngu'
3341 - name : Build and Publish
3442 run : |
35- npm ci
36- npx nx run-many --target=build --all
43+ pnpm install
44+ pnpx nx run-many --target=build --all
3745 cd dist/libs/ngu/carousel
3846 npm publish --access=public
3947 shell : bash
You can’t perform that action at this time.
0 commit comments