File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -38,24 +38,24 @@ jobs:
3838 repository : koromerzhin/lampy
3939 ref : ' v4.1'
4040 path : lampy
41-
42- # === BUILD PHASE ===
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-
48+
4349 - name : Install dependencies
44- run : npm ci --prefer-offline --no-audit
50+ run : |
51+ if [ ! -d node_modules ]; then
52+ npm install
53+ fi
4554
4655 - name : Setup environment files
4756 run : |
4857 cp .env.example .env
4958
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-
5959 - name : Setup database and infrastructure
6060 run : |
6161 task symfony:copysql
You can’t perform that action at this time.
0 commit comments