File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,20 @@ jobs:
12
12
fail-fast : false
13
13
matrix :
14
14
node-version :
15
- - " 18 "
15
+ - 18
16
16
steps :
17
17
- name : Checkout
18
18
uses : actions/checkout@v3
19
19
- name : Setup Node
20
20
uses : actions/setup-node@v3
21
21
with :
22
22
node-version : ${{ matrix.node-version }}
23
- - run : npm ci
24
- - run : npm test run
25
- - run : npm run build
23
+ - uses : pnpm/action-setup@v2
24
+ name : Install pnpm
25
+ id : pnpm-install
26
+ with :
27
+ version : 7
28
+ run_install : false
29
+ - run : pnpm
30
+ - run : pnpm test run
31
+ - run : pnpm build
Original file line number Diff line number Diff line change @@ -16,10 +16,16 @@ jobs:
16
16
with :
17
17
node-version : 18
18
18
registry-url : " https://registry.npmjs.org"
19
- - run : npm ci
20
- - run : npm test run
21
- - run : npm run build
22
- - run : npm publish
19
+ - uses : pnpm/action-setup@v2
20
+ name : Install pnpm
21
+ id : pnpm-install
22
+ with :
23
+ version : 7
24
+ run_install : false
25
+ - run : pnpm install
26
+ - run : pnpm test run
27
+ - run : pnpm build
28
+ - run : pnpm publish
23
29
env :
24
30
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
25
31
You can’t perform that action at this time.
0 commit comments