Skip to content

Commit 9ac10bd

Browse files
committed
Install dependencies before packing
1 parent 4a4c19e commit 9ac10bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,17 @@ jobs:
188188
with:
189189
submodules: true
190190

191-
- name: Setup Node.js
191+
- name: Setup npm with Node.js 20
192192
uses: actions/setup-node@v4
193193
with:
194+
cache: npm
195+
node-version: 20
194196
token: ${{ secrets.NPM_TOKEN }}
195197
registry-url: 'https://registry.npmjs.org'
196198

199+
- name: Install dependencies
200+
run: npm ci --ignore-scripts
201+
197202
- name: Download artifacts
198203
id: download-artifact
199204
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)