sparse-intern-71089
08/26/2020, 10:11 PMstocky-spoon-28903
08/26/2020, 11:19 PMmillions-judge-24978
08/26/2020, 11:31 PMcold-london-56784
10/22/2020, 6:29 PMmillions-judge-24978
10/22/2020, 6:32 PMasdf
to install pulumi
(asdf-vm/actions/setup@v1
) and these actions for caching:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn
- uses: actions/cache@v2
id: node-modules-cache
with:
path: ${{ github.workspace }}/infrastructure/node_modules
key: ${{ runner.os }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v2
id: pulumi-plugins-cache
with:
path: ~/.pulumi/plugins
key: ${{ runner.os }}-pulumi-plugins
I have copied the bash script from the pulumi action and run that after all the above
This setup is pretty fastmillions-judge-24978
10/22/2020, 6:34 PMcold-london-56784
10/22/2020, 6:39 PMmillions-judge-24978
10/22/2020, 6:43 PM