11
11
branches :
12
12
- ' **'
13
13
jobs :
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') }}
41
41
42
42
test-build :
43
- needs : build
43
+ # needs: build
44
44
strategy :
45
45
matrix :
46
46
node-version : [22]
@@ -58,14 +58,14 @@ jobs:
58
58
node-version : ${{ matrix.node-version }}
59
59
cache : ' pnpm'
60
60
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
69
69
run : pnpm install && pnpm build && pnpm snapshot
70
70
- run : echo "{}" > playground/package.json
71
71
- name : Install dependencies in playground
0 commit comments