@@ -16,30 +16,39 @@ jobs:
1616 uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
1717 with :
1818 submodules : false
19+
20+ - name : Setup pnpm
21+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
22+ with :
23+ version : 10
24+
1925 - name : " Defining Environment Variables"
2026 id : variables
2127 run : echo "::set-output name=tag::$(git tag --points-at HEAD)"
28+
2229 - name : " Defining node version"
23- uses : actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
30+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2431 with :
2532 node-version-file : " .nvmrc"
26- - name : " Installing root dependencies"
27- working-directory : ./
28- run : npm install
33+ cache : ' pnpm'
34+
2935 - name : " Installing pluggable-widgets-tools dependencies"
3036 working-directory : ./packages/pluggable-widgets-tools
3137 if : contains(steps.variables.outputs.tag, 'pluggable-widgets-tools-v')
32- run : npm install
38+ run : pnpm install
39+
3340 - name : " Installing generator-widget dependencies"
3441 working-directory : ./packages/generator-widget
3542 if : contains(steps.variables.outputs.tag, 'generator-widget-v')
36- run : npm install
43+ run : pnpm install
44+
3745 - name : " Targeting Pluggable Widgets Tools"
3846 if : contains(steps.variables.outputs.tag, 'pluggable-widgets-tools-v')
3947 uses : JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
4048 with :
4149 package : " ./packages/pluggable-widgets-tools/package.json"
4250 token : ${{ secrets.NPM_TOKEN }}
51+
4352 - name : " Targeting Pluggable Widgets Generator"
4453 if : contains(steps.variables.outputs.tag, 'generator-widget-v')
4554 uses : JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
0 commit comments