1111 branches :
1212 - ' **'
1313jobs :
14- build :
15- runs-on : ubuntu-latest
16- name : Build the package
17- steps :
18- - uses : actions/checkout@v4
19- - uses : pnpm/action-setup@v3
20- - uses : actions/setup-node@v4
21- with :
22- node-version : 22
23- cache : ' pnpm'
24- - run : pnpm install
25- env :
26- CYPRESS_INSTALL_BINARY : 0
27- CHROMEDRIVER_SKIP_DOWNLOAD : true
28- - run : pnpm build
29- - run : pnpm test:unit
30-
31- - run : pnpm snapshot
32- # Use cache to share the output across different jobs
33- # No need to cache node_modules because they are all bundled
34- - uses : actions/cache/save@v4
35- id : cache
36- with :
37- path : |
38- outfile.cjs
39- playground
40- key : ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
14+ # build:
15+ # runs-on: ubuntu-latest
16+ # name: Build the package
17+ # steps:
18+ # - uses: actions/checkout@v4
19+ # - uses: pnpm/action-setup@v3
20+ # - uses: actions/setup-node@v4
21+ # with:
22+ # node-version: 22
23+ # cache: 'pnpm'
24+ # - run: pnpm install
25+ # env:
26+ # CYPRESS_INSTALL_BINARY: 0
27+ # CHROMEDRIVER_SKIP_DOWNLOAD: true
28+ # - run: pnpm build
29+ # - run: pnpm test:unit
30+
31+ # - run: pnpm snapshot
32+ # # Use cache to share the output across different jobs
33+ # # No need to cache node_modules because they are all bundled
34+ # - uses: actions/cache/save@v4
35+ # id: cache
36+ # with:
37+ # path: |
38+ # outfile.cjs
39+ # playground
40+ # key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
4141
4242 test-build :
43- needs : build
43+ # needs: build
4444 strategy :
4545 matrix :
4646 node-version : [22]
@@ -58,14 +58,14 @@ jobs:
5858 node-version : ${{ matrix.node-version }}
5959 cache : ' pnpm'
6060
61- - uses : actions/cache/restore@v4
62- id : cache-restore
63- with :
64- path : |
65- outfile.cjs
66- playground
67- key : ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
68- - name : Build the package on cache miss
61+ # - uses: actions/cache/restore@v4
62+ # id: cache-restore
63+ # with:
64+ # path: |
65+ # outfile.cjs
66+ # playground
67+ # key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
68+ - name : Build the package
6969 run : pnpm install && pnpm build && pnpm snapshot
7070 - run : echo "{}" > playground/package.json
7171 - name : Install dependencies in playground
0 commit comments