We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 227ff40 commit 63e4a5fCopy full SHA for 63e4a5f
1 file changed
.github/workflows/ci.yml
@@ -23,6 +23,12 @@ jobs:
23
24
- run: yarn build
25
26
+ - name: Cache Build Output
27
+ uses: actions/cache@v5
28
+ with:
29
+ path: ./dist
30
+ key: ${{ github.job_workflow_sha }}-dist
31
+
32
- name: Validate CJS bundle with Node ${{ env.NODE_VERSION }}
33
run: yarn validate-cjs
34
@@ -62,10 +68,21 @@ jobs:
62
68
63
69
- uses: ./.github/actions/setup-node
64
70
env:
65
- NODE_ENV: ""
71
+ NODE_ENV: ''
72
73
+ - name: Recover Build Output
74
75
76
77
78
79
+ - run: echo ${{ toJson(github) }}
66
80
67
- - name: Build SDK
81
+ - name: Build SDK if cache miss
82
+ run: |
83
+ if [ ! -d "./dist" ]; then
84
+ yarn build
85
+ fi
86
87
- name: Install example dependencies
88
working-directory: examples/vite
0 commit comments