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:
15
15
16
16
strategy :
17
17
matrix :
18
- node-version : ['18.13.0', '20 ']
18
+ node-version : ['20', ' 18.13.0']
19
19
20
20
steps :
21
21
- uses : actions/checkout@v4
22
+ - name : Install pnpm
23
+ uses : pnpm/action-setup@v4
24
+ with :
25
+ version : 9
22
26
- name : Use Node.js ${{ matrix.node-version }}
23
27
uses : actions/setup-node@v4
24
28
with :
25
29
node-version : ${{ matrix.node-version }}
26
30
- name : Install dependencies
27
- run : npm ci
31
+ run : pnpm install
28
32
- name : Build
29
33
run : |
30
- npx nx run-many --target=build --all
34
+ pnpx nx run-many --target=build --all
31
35
env :
32
36
CI : true
Original file line number Diff line number Diff line change @@ -15,25 +15,33 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v4
18
+ - name : Install pnpm
19
+ uses : pnpm/action-setup@v4
20
+ with :
21
+ version : 9
18
22
- uses : actions/setup-node@v4
19
23
with :
20
24
node-version : 18.13.0
21
- - run : npm ci
25
+ - run : pnpm install
22
26
23
27
publish-npm :
24
28
needs : build
25
29
runs-on : ubuntu-latest
26
30
steps :
27
31
- uses : actions/checkout@v4
32
+ - name : Install pnpm
33
+ uses : pnpm/action-setup@v4
34
+ with :
35
+ version : 9
28
36
- uses : actions/setup-node@v4
29
37
with :
30
38
node-version : 18.13.0
31
39
registry-url : https://registry.npmjs.org/
32
40
scope : ' @ngu'
33
41
- name : Build and Publish
34
42
run : |
35
- npm ci
36
- npx nx run-many --target=build --all
43
+ pnpm install
44
+ pnpx nx run-many --target=build --all
37
45
cd dist/libs/ngu/carousel
38
46
npm publish --access=public
39
47
shell : bash
You can’t perform that action at this time.
0 commit comments