10
10
types : [published]
11
11
12
12
env :
13
- PHP_VERSION : 8.1
13
+ PHP_VERSION : 8.2
14
14
15
15
jobs :
16
16
build_and_publish :
21
21
22
22
steps :
23
23
- name : Check actor permission
24
- uses : skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
24
+ uses : skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
25
25
with :
26
26
require : write
27
27
32
32
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
33
33
34
34
- name : Checkout
35
- uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
35
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
36
36
with :
37
37
path : ${{ env.APP_NAME }}
38
38
@@ -44,19 +44,19 @@ jobs:
44
44
expression : " //info//dependencies//nextcloud/@min-version"
45
45
46
46
- 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
48
48
id : versions
49
49
# Continue if no package.json
50
50
continue-on-error : true
51
51
with :
52
52
path : ${{ env.APP_NAME }}
53
- fallbackNode : " ^16 "
54
- fallbackNpm : " ^7 "
53
+ fallbackNode : ' ^20 '
54
+ fallbackNpm : ' ^10 '
55
55
56
56
- name : Set up node ${{ steps.versions.outputs.nodeVersion }}
57
57
# Skip if no package.json
58
58
if : ${{ steps.versions.outputs.nodeVersion }}
59
- uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
59
+ uses : actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
60
60
with :
61
61
node-version : ${{ steps.versions.outputs.nodeVersion }}
62
62
66
66
run : npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
67
67
68
68
- name : Set up php ${{ env.PHP_VERSION }}
69
- uses : shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
69
+ uses : shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
70
70
with :
71
71
php-version : ${{ env.PHP_VERSION }}
72
72
coverage : none
75
75
76
76
- name : Check composer.json
77
77
id : check_composer
78
- uses : andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
78
+ uses : andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
79
79
with :
80
80
files : " ${{ env.APP_NAME }}/composer.json"
81
81
@@ -88,14 +88,16 @@ jobs:
88
88
- name : Build ${{ env.APP_NAME }}
89
89
# Skip if no package.json
90
90
if : ${{ steps.versions.outputs.nodeVersion }}
91
+ env :
92
+ CYPRESS_INSTALL_BINARY : 0
91
93
run : |
92
94
cd ${{ env.APP_NAME }}
93
95
npm ci
94
96
npm run build
95
97
96
98
- name : Check Krankerl config
97
99
id : krankerl
98
- uses : andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
100
+ uses : andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v2
99
101
with :
100
102
files : ${{ env.APP_NAME }}/krankerl.toml
101
103
@@ -126,7 +128,7 @@ jobs:
126
128
unzip latest-$NCVERSION.zip
127
129
128
130
- name : Checkout server master fallback
129
- uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
131
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
130
132
if : ${{ steps.server-checkout.outcome != 'success' }}
131
133
with :
132
134
submodules : true
@@ -149,7 +151,7 @@ jobs:
149
151
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
150
152
151
153
- name : Attach tarball to github release
152
- uses : svenstaro/upload-release-action@2b9d2847a97b04d02ad5c3df2d3a27baa97ce689 # v2
154
+ uses : svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
153
155
id : attach_to_release
154
156
with :
155
157
repo_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments