Skip to content

Commit a78c12f

Browse files
committed
Run npm clean-install
1 parent d783953 commit a78c12f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish-authkit.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
node-version: '20.x'
2121
registry-url: 'https://registry.npmjs.org/'
2222
- name: Install dependencies
23-
run: npm install
23+
run: |
24+
if [ -f package-lock.json ]; then
25+
npm clean-install .
26+
else
27+
npm install .
28+
fi
2429
- name: Build
2530
run: npm run build
2631
- name: Publish

0 commit comments

Comments
 (0)