Skip to content

Commit f1ceb69

Browse files
committed
feat: publish cache clean 추가
1 parent 54afd70 commit f1ceb69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build and Publish Storybook to GitHub Pages
22

3-
on: #main으로 push되면 실행
3+
on: # main으로 push되면 실행
44
push:
55
branches:
66
- main
@@ -30,6 +30,10 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
cache: 'npm'
33+
cache-dependency-path: package-lock.json
34+
35+
- name: Clear npm cache
36+
run: npm cache clean --force
3337

3438
- name: Install dependencies
3539
run: npm install

0 commit comments

Comments
 (0)