@@ -10,6 +10,36 @@ defaults:
1010 shell : bash
1111
1212jobs :
13+ browserify-cjs :
14+ runs-on : ubuntu-20.04
15+ container :
16+ image : cypress/base:17.3.0
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+ - name : Cache NPM modules
21+ uses : actions/cache@v2
22+ with :
23+ path : ~/.npm
24+ key : npm
25+ - name : Cache Cypress binaries
26+ uses : actions/cache@v2
27+ with :
28+ path : ~/.cache/Cypress
29+ key : cypress
30+ # In lack of native support, https://github.com/actions/checkout/issues/172.
31+ - name : Make checkout sparse
32+ run : |
33+ shopt -s extglob
34+ rm -rf examples/!(browserify-cjs)
35+ rm -rf !(examples)
36+ - name : Install NPM modules
37+ working-directory : examples/browserify-cjs
38+ run : npm install
39+ - name : Run Cypress
40+ working-directory : examples/browserify-cjs
41+ run : npx cypress run
42+
1343 browserify-esm :
1444 runs-on : ubuntu-20.04
1545 container :
@@ -70,6 +100,36 @@ jobs:
70100 working-directory : examples/browserify-ts
71101 run : npx cypress run
72102
103+ webpack-cjs :
104+ runs-on : ubuntu-20.04
105+ container :
106+ image : cypress/base:17.3.0
107+ steps :
108+ - name : Checkout
109+ uses : actions/checkout@v2
110+ - name : Cache NPM modules
111+ uses : actions/cache@v2
112+ with :
113+ path : ~/.npm
114+ key : npm
115+ - name : Cache Cypress binaries
116+ uses : actions/cache@v2
117+ with :
118+ path : ~/.cache/Cypress
119+ key : cypress
120+ # In lack of native support, https://github.com/actions/checkout/issues/172.
121+ - name : Make checkout sparse
122+ run : |
123+ shopt -s extglob
124+ rm -rf examples/!(webpack-cjs)
125+ rm -rf !(examples)
126+ - name : Install NPM modules
127+ working-directory : examples/webpack-cjs
128+ run : npm install
129+ - name : Run Cypress
130+ working-directory : examples/webpack-cjs
131+ run : npx cypress run
132+
73133 webpack-esm :
74134 runs-on : ubuntu-20.04
75135 container :
@@ -130,6 +190,36 @@ jobs:
130190 working-directory : examples/webpack-ts
131191 run : npx cypress run
132192
193+ esbuild-cjs :
194+ runs-on : ubuntu-20.04
195+ container :
196+ image : cypress/base:17.3.0
197+ steps :
198+ - name : Checkout
199+ uses : actions/checkout@v2
200+ - name : Cache NPM modules
201+ uses : actions/cache@v2
202+ with :
203+ path : ~/.npm
204+ key : npm
205+ - name : Cache Cypress binaries
206+ uses : actions/cache@v2
207+ with :
208+ path : ~/.cache/Cypress
209+ key : cypress
210+ # In lack of native support, https://github.com/actions/checkout/issues/172.
211+ - name : Make checkout sparse
212+ run : |
213+ shopt -s extglob
214+ rm -rf examples/!(esbuild-cjs)
215+ rm -rf !(examples)
216+ - name : Install NPM modules
217+ working-directory : examples/esbuild-cjs
218+ run : npm install
219+ - name : Run Cypress
220+ working-directory : examples/esbuild-cjs
221+ run : npx cypress run
222+
133223 esbuild-esm :
134224 runs-on : ubuntu-20.04
135225 container :
0 commit comments