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:
1212 fail-fast : false
1313 matrix :
1414 node-version :
15- - " 18 "
15+ - 18
1616 steps :
1717 - name : Checkout
1818 uses : actions/checkout@v3
1919 - name : Setup Node
2020 uses : actions/setup-node@v3
2121 with :
2222 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:
1616 with :
1717 node-version : 18
1818 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
2329 env :
2430 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2531
You can’t perform that action at this time.
0 commit comments