@@ -10,6 +10,36 @@ defaults:
1010 shell : bash
1111
1212jobs :
13+ browserify-esm :
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-esm)
35+ rm -rf !(examples)
36+ - name : Install NPM modules
37+ working-directory : examples/browserify-esm
38+ run : npm install
39+ - name : Run Cypress
40+ working-directory : examples/browserify-esm
41+ run : npx cypress run
42+
1343 browserify-ts :
1444 runs-on : ubuntu-20.04
1545 container :
4070 working-directory : examples/browserify-ts
4171 run : npx cypress run
4272
73+ webpack-esm :
74+ runs-on : ubuntu-20.04
75+ container :
76+ image : cypress/base:17.3.0
77+ steps :
78+ - name : Checkout
79+ uses : actions/checkout@v2
80+ - name : Cache NPM modules
81+ uses : actions/cache@v2
82+ with :
83+ path : ~/.npm
84+ key : npm
85+ - name : Cache Cypress binaries
86+ uses : actions/cache@v2
87+ with :
88+ path : ~/.cache/Cypress
89+ key : cypress
90+ # In lack of native support, https://github.com/actions/checkout/issues/172.
91+ - name : Make checkout sparse
92+ run : |
93+ shopt -s extglob
94+ rm -rf examples/!(webpack-esm)
95+ rm -rf !(examples)
96+ - name : Install NPM modules
97+ working-directory : examples/webpack-esm
98+ run : npm install
99+ - name : Run Cypress
100+ working-directory : examples/webpack-esm
101+ run : npx cypress run
102+
43103 webpack-ts :
44104 runs-on : ubuntu-20.04
45105 container :
@@ -70,6 +130,36 @@ jobs:
70130 working-directory : examples/webpack-ts
71131 run : npx cypress run
72132
133+ esbuild-esm :
134+ runs-on : ubuntu-20.04
135+ container :
136+ image : cypress/base:17.3.0
137+ steps :
138+ - name : Checkout
139+ uses : actions/checkout@v2
140+ - name : Cache NPM modules
141+ uses : actions/cache@v2
142+ with :
143+ path : ~/.npm
144+ key : npm
145+ - name : Cache Cypress binaries
146+ uses : actions/cache@v2
147+ with :
148+ path : ~/.cache/Cypress
149+ key : cypress
150+ # In lack of native support, https://github.com/actions/checkout/issues/172.
151+ - name : Make checkout sparse
152+ run : |
153+ shopt -s extglob
154+ rm -rf examples/!(esbuild-esm)
155+ rm -rf !(examples)
156+ - name : Install NPM modules
157+ working-directory : examples/esbuild-esm
158+ run : npm install
159+ - name : Run Cypress
160+ working-directory : examples/esbuild-esm
161+ run : npx cypress run
162+
73163 esbuild-ts :
74164 runs-on : ubuntu-20.04
75165 container :
0 commit comments