@@ -16,30 +16,37 @@ 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+
1923 - name : " Defining Environment Variables"
2024 id : variables
2125 run : echo "::set-output name=tag::$(git tag --points-at HEAD)"
26+
2227 - name : " Defining node version"
2328 uses : actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
2429 with :
2530 node-version-file : " .nvmrc"
26- - name : " Installing root dependencies"
27- working-directory : ./
28- run : npm install
31+ cache : ' pnpm'
32+
2933 - name : " Installing pluggable-widgets-tools dependencies"
3034 working-directory : ./packages/pluggable-widgets-tools
3135 if : contains(steps.variables.outputs.tag, 'pluggable-widgets-tools-v')
32- run : npm install
36+ run : pnpm install
37+
3338 - name : " Installing generator-widget dependencies"
3439 working-directory : ./packages/generator-widget
3540 if : contains(steps.variables.outputs.tag, 'generator-widget-v')
36- run : npm install
41+ run : pnpm install
42+
3743 - name : " Targeting Pluggable Widgets Tools"
3844 if : contains(steps.variables.outputs.tag, 'pluggable-widgets-tools-v')
3945 uses : JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
4046 with :
4147 package : " ./packages/pluggable-widgets-tools/package.json"
4248 token : ${{ secrets.NPM_TOKEN }}
49+
4350 - name : " Targeting Pluggable Widgets Generator"
4451 if : contains(steps.variables.outputs.tag, 'generator-widget-v')
4552 uses : JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1
0 commit comments