@@ -11,42 +11,21 @@ jobs:
1111
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2 .2
14+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0 .2
1515
1616 - name : Setup node
17- uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3 .0
17+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
1818 with :
1919 cache : ' npm'
2020 node-version-file : .nvmrc
2121
22- - name : Cache node_modules
23- id : cache-node-modules
24- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
25- env :
26- cache-name : cache-node-modules
27- with :
28- path : node_modules
29- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
30-
31- - name : Get composer cache directory
32- id : composer-cache
33- run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
34-
35- - name : Cache dependencies
36- id : cache-composer
37- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
38- env :
39- cache-name : cache-composer
40- with :
41- path : ${{ steps.composer-cache.outputs.dir }}
42- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/composer.lock') }}
43-
4422 - name : Install node dependencies
45- if : steps.cache-node-modules.outputs.cache-hit != 'true'
4623 run : npm ci --no-optional
4724
48- - name : Install composer dependencies
49- run : composer install --no-dev -o
25+ - name : Install Composer dependencies
26+ uses : ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
27+ with :
28+ composer-options : ' --no-dev -o'
5029
5130 - name : Build
5231 run : |
5534 npm run archive
5635
5736 - name : Upload the ZIP file as an artifact
58- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6 .1
37+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0 .1
5938 with :
6039 name : ${{ github.event.repository.name }}
6140 path : release
0 commit comments