We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b858f67 commit 5bf843dCopy full SHA for 5bf843d
1 file changed
.github/workflows/deploy.yml
@@ -25,6 +25,7 @@ jobs:
25
runs-on: ubuntu-latest
26
steps:
27
- uses: actions/checkout@v5
28
+
29
- name: Parse .tool-versions
30
uses: ./.github/actions/parse-tool-versions
31
id: tool-versions
@@ -35,7 +36,14 @@ jobs:
35
36
- run: node -v
37
- run: yarn set version ${{ fromJSON(steps.tool-versions.outputs.versions).yarn }}
38
- run: yarn install --inmutable
- - run: yarn build:prod
39
+ - uses: actions/cache@v4
40
+ id: cache-dist
41
+ with:
42
+ path: dist
43
+ key: dist-${{ hashFiles('**/yarn.lock', '**/src/**') }}
44
+ - name: Build production bundle
45
+ if: steps.cache-dist.outputs.cache-hit != 'true'
46
+ run: yarn build:prod
47
- name: Upload dist bundle
48
uses: actions/upload-artifact@v4
49
with:
0 commit comments