Skip to content

Commit 31e5bc7

Browse files
committed
chore(ci): restore built files
1 parent 81e9c34 commit 31e5bc7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

β€Ž.github/workflows/validate.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
- name: πŸ”¨ Build
3535
run: npm run build
3636

37+
- name: πŸ’Ύ Cache build output
38+
uses: actions/cache/save@v4
39+
with:
40+
path: |
41+
dist/
42+
key: build-${{ matrix.node-version }}-${{ github.sha }}
43+
3744
- name: πŸ” Type check
3845
run: npm run typecheck
3946

@@ -94,6 +101,14 @@ jobs:
94101
- name: ⬇️ Checkout repo
95102
uses: actions/checkout@v4
96103

104+
- name: πŸ”„ Restore build output
105+
uses: actions/cache/restore@v4
106+
with:
107+
path: |
108+
dist/
109+
key: build-24-${{ github.sha }}
110+
fail-on-cache-miss: false
111+
97112
- name: πŸš€ Release
98113
uses: cycjimmy/semantic-release-action@v4
99114
with:

0 commit comments

Comments
Β (0)