File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 28
28
29
29
- name : Install sharp - arm64
30
30
run : npm i --save-exact --os=linux --cpu=arm64 --libc=glibc sharp
31
- - name : Remove musl-based binary # @npm/cli#6914
32
- run : rm -rf node_modules/@img/*-linuxmusl*
33
31
- name : Get sharp version
34
32
id : version
35
33
uses : notiz-dev/github-action-json-property@release
52
50
53
51
- name : Install sharp - x64
54
52
run : npm i --save-exact --os=linux --cpu=x64 --libc=glibc sharp
55
- - name : Remove musl-based binary # @npm/cli#6914
56
- run : rm -rf node_modules/@img/*-linuxmusl*
57
53
- name : esbuild - x64
58
54
run : esbuild --bundle ./node_modules/sharp/ --outfile=index.js --minify --format=cjs --platform=node
59
55
- name : Zip - x64
72
68
run : |
73
69
npm i --os=linux --cpu=x64 --libc=glibc sharp
74
70
npm i --os=linux --cpu=arm64 --libc=glibc sharp
75
- - name : Remove musl-based binary # @npm/cli#6914
76
- run : rm -rf node_modules/@img/*-linuxmusl*
77
71
- name : esbuild - all
78
72
run : esbuild --bundle ./node_modules/sharp/ --outfile=index.js --minify --format=cjs --platform=node
79
73
- name : Zip - all
You can’t perform that action at this time.
0 commit comments