1010 types : [published]
1111
1212env :
13- PHP_VERSION : 8.1
13+ PHP_VERSION : 8.2
1414
1515jobs :
1616 build_and_publish :
2121
2222 steps :
2323 - name : Check actor permission
24- uses : skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
24+ uses : skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
2525 with :
2626 require : write
2727
3232 echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
3333
3434 - name : Checkout
35- uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
35+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3636 with :
3737 path : ${{ env.APP_NAME }}
3838
@@ -44,19 +44,19 @@ jobs:
4444 expression : " //info//dependencies//nextcloud/@min-version"
4545
4646 - name : Read package.json node and npm engines version
47- uses : skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
47+ uses : skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
4848 id : versions
4949 # Continue if no package.json
5050 continue-on-error : true
5151 with :
5252 path : ${{ env.APP_NAME }}
53- fallbackNode : " ^16 "
54- fallbackNpm : " ^7 "
53+ fallbackNode : ' ^20 '
54+ fallbackNpm : ' ^10 '
5555
5656 - name : Set up node ${{ steps.versions.outputs.nodeVersion }}
5757 # Skip if no package.json
5858 if : ${{ steps.versions.outputs.nodeVersion }}
59- uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
59+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
6060 with :
6161 node-version : ${{ steps.versions.outputs.nodeVersion }}
6262
6666 run : npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
6767
6868 - name : Set up php ${{ env.PHP_VERSION }}
69- uses : shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
69+ uses : shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
7070 with :
7171 php-version : ${{ env.PHP_VERSION }}
7272 coverage : none
7575
7676 - name : Check composer.json
7777 id : check_composer
78- uses : andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
78+ uses : andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
7979 with :
8080 files : " ${{ env.APP_NAME }}/composer.json"
8181
@@ -88,14 +88,16 @@ jobs:
8888 - name : Build ${{ env.APP_NAME }}
8989 # Skip if no package.json
9090 if : ${{ steps.versions.outputs.nodeVersion }}
91+ env :
92+ CYPRESS_INSTALL_BINARY : 0
9193 run : |
9294 cd ${{ env.APP_NAME }}
9395 npm ci
9496 npm run build
9597
9698 - name : Check Krankerl config
9799 id : krankerl
98- uses : andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
100+ uses : andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
99101 with :
100102 files : ${{ env.APP_NAME }}/krankerl.toml
101103
@@ -126,7 +128,7 @@ jobs:
126128 unzip latest-$NCVERSION.zip
127129
128130 - name : Checkout server master fallback
129- uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
131+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
130132 if : ${{ steps.server-checkout.outcome != 'success' }}
131133 with :
132134 submodules : true
@@ -149,7 +151,7 @@ jobs:
149151 tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
150152
151153 - name : Attach tarball to github release
152- uses : svenstaro/upload-release-action@2b9d2847a97b04d02ad5c3df2d3a27baa97ce689 # v2
154+ uses : svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
153155 id : attach_to_release
154156 with :
155157 repo_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments