File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -38,24 +38,25 @@ jobs:
3838 repository : koromerzhin/lampy
3939 ref : ' v4.1'
4040 path : lampy
41+
42+ - name : Setup cache
43+ uses : actions/cache@v4
44+ with :
45+ path : node_modules
46+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
47+ restore-keys : ${{ runner.os }}-node-
4148
4249 # === BUILD PHASE ===
4350 - name : Install dependencies
44- run : npm ci --prefer-offline --no-audit
51+ run : |
52+ if [ ! -d node_modules ]; then
53+ npm install
54+ fi
4555
4656 - name : Setup environment files
4757 run : |
4858 cp .env.example .env
4959
50- # === INFRASTRUCTURE PHASE ===
51- - name : Setup Docker cache
52- uses : actions/cache@v4
53- with :
54- path : /tmp/.buildx-cache
55- key : ${{ runner.os }}-buildx-${{ github.sha }}
56- restore-keys : |
57- ${{ runner.os }}-buildx-
58-
5960 - name : Setup database and infrastructure
6061 run : |
6162 task laravel:copysql
You can’t perform that action at this time.
0 commit comments