File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,10 @@ jobs:
25
25
uses : actions/setup-node@v4
26
26
with :
27
27
node-version : ${{ matrix.node }}
28
+ cache : ' yarn'
28
29
env :
29
30
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
31
31
- - name : Restore the Yarn cache directory
32
- id : yarncache
33
- run : echo "::set-output name=dir::$(yarn cache dir)"
34
-
35
- - uses : actions/cache@v4
36
- with :
37
- path : ${{ steps.yarncache.outputs.dir }}
38
- key : ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
39
- restore-keys : ${{ runner.os }}-${{ matrix.node }}-yarn-
40
-
41
32
- name : Install dependencies using Yarn
42
33
run : yarn install --frozen-lockfile
43
34
@@ -65,11 +56,11 @@ jobs:
65
56
php-version : ${{ matrix.php }}
66
57
coverage : xdebug
67
58
env :
68
- COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69
60
70
61
- name : Restore the Composer cache directory
71
62
id : composercache
72
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
63
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
73
64
74
65
- uses : actions/cache@v4
75
66
with :
You can’t perform that action at this time.
0 commit comments