File tree Expand file tree Collapse file tree 7 files changed +41
-646
lines changed Expand file tree Collapse file tree 7 files changed +41
-646
lines changed Original file line number Diff line number Diff line change 8686
8787 # Upload the download data:
8888 - name : ' Upload data'
89- # Pin action to full length commit SHA corresponding to v3.1.3
90- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
89+ # Pin action to full length commit SHA
90+ uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
9191 with :
9292 # Define a name for the uploaded artifact (ensuring a unique name for each job):
9393 name : npm_downloads
Original file line number Diff line number Diff line change @@ -124,16 +124,10 @@ jobs:
124124 mv ./package.json.tmp ./package.json
125125 fi
126126 done
127- jq -r '.devDependencies | keys[]' ./package.json | while read -r dep; do
128- if [[ "$dep" != "@stdlib"* ]]; then
129- continue
130- fi
131- dep=$(echo "$dep" | xargs)
132- if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
133- jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
134- mv ./package.json.tmp ./package.json
135- fi
136- done
127+
128+ # Set `devDependencies` to an empty object:
129+ jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp
130+ mv ./package.json.tmp ./package.json
137131
138132 # Remove CLI section:
139133 find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?<section class=\"cli\">[\s\S]+?<\!\-\- \/.cli \-\->//"
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ jobs:
168168
169169 # Install Deno:
170170 - name : ' Install Deno'
171- # Pin action to full length commit SHA corresponding to v1.1.2
172- uses : denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31
171+ # Pin action to full length commit SHA
172+ uses : denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
173173 with :
174174 deno-version : vx.x.x
175175
Original file line number Diff line number Diff line change @@ -220,8 +220,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
220220[ npm-image ] : http://img.shields.io/npm/v/@stdlib/array-ones-like.svg
221221[ npm-url ] : https://npmjs.org/package/@stdlib/array-ones-like
222222
223- [ test-image ] : https://github.com/stdlib-js/array-ones-like/actions/workflows/test.yml/badge.svg?branch=v0.2.0
224- [ test-url ] : https://github.com/stdlib-js/array-ones-like/actions/workflows/test.yml?query=branch:v0.2.0
223+ [ test-image ] : https://github.com/stdlib-js/array-ones-like/actions/workflows/test.yml/badge.svg?branch=main
224+ [ test-url ] : https://github.com/stdlib-js/array-ones-like/actions/workflows/test.yml?query=branch:main
225225
226226[ coverage-image ] : https://img.shields.io/codecov/c/github/stdlib-js/array-ones-like/main.svg
227227[ coverage-url ] : https://codecov.io/github/stdlib-js/array-ones-like?branch=main
You can’t perform that action at this time.
0 commit comments