File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ jobs:
3030 uses : actions/cache@v2
3131 with :
3232 path : ~/.npm
33- key : npm@${{ matrix.cypress-version }}
33+ key : npm-linux @${{ matrix.cypress-version }}
3434 - name : Cache Cypress binaries
3535 uses : actions/cache@v2
3636 with :
3737 path : ~/.cache/Cypress
38- key : cypress@${{ matrix.cypress-version }}
38+ key : cypress-linux @${{ matrix.cypress-version }}
3939 - name : Change owner
4040 run : " chown root: ."
4141 - name : Dependencies
5757
5858 windows :
5959 runs-on : windows-latest
60+ env :
61+ NPM_CONFIG_CACHE : ${{ github.workspace }}/.npm
62+ CYPRESS_CACHE_FOLDER : ${{ github.workspace }}/.cypress
6063 steps :
6164 - name : Checkout
6265 uses : actions/checkout@v2
66+ - name : Cache NPM modules
67+ uses : actions/cache@v2
68+ with :
69+ path : .npm
70+ key : npm-windows
71+ - name : Cache Cypress binaries
72+ uses : actions/cache@v2
73+ with :
74+ path : .cypress
75+ key : cypress-windows
6376 - name : Dependencies
6477 shell : bash
6578 env :
You can’t perform that action at this time.
0 commit comments