Skip to content

Commit f01c9c8

Browse files
committed
Add builds to E2E teset
1 parent 42fa2a1 commit f01c9c8

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/e2e-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
working-directory: ./config
4848
env:
4949
FIREBASE_CLI_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
50+
- name: Do modular build
51+
run: yarn build:modular
52+
- name: Do compat build
53+
run: yarn build:compat
5054
- name: Run modular tests
5155
env:
5256
APP_CHECK_DEBUG_TOKEN: ${{ secrets.APP_CHECK_DEBUG_TOKEN }}

e2e/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build/*.js
2+
build/*.map
23
firebase-config.js
34
context.html

e2e/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"watch": "webpack --watch",
1212
"build": "webpack",
1313
"start:modular": "webpack serve --config-name modular",
14-
"start:compat": "webpack serve --config-name compat"
14+
"start:compat": "webpack serve --config-name compat",
15+
"build:modular": "webpack --config-name modular",
16+
"build:compat": "webpack --config-name compat"
1517
},
1618
"author": "",
1719
"license": "ISC",

e2e/webpack.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ module.exports = [
4949
}
5050
]
5151
},
52-
resolve: {
53-
mainFields: ['browser', 'module', 'main']
54-
},
5552
stats: {
5653
colors: true
5754
},
@@ -88,9 +85,6 @@ module.exports = [
8885
}
8986
]
9087
},
91-
resolve: {
92-
mainFields: ['browser', 'module', 'main']
93-
},
9488
stats: {
9589
colors: true
9690
},

0 commit comments

Comments
 (0)