Skip to content

Commit 5d57eb9

Browse files
committed
Add e2e to CI
1 parent 3dadecc commit 5d57eb9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
run: yarn build
2727
- name: Run env tests
2828
run: yarn test:env
29+
- name: Run env tests
30+
run: yarn test:env
31+
2932

3033

3134
style:

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@
66
"scripts": {
77
"cleanup": "shx rm -rf dist/",
88
"test": "yarn build && jest",
9-
"test:all": "yarn test && yarn test:env && yarn test:playgrounds",
9+
"test:all": "yarn test && yarn test:env && yarn test:playgrounds && yarn test:e2e",
1010
"test:env": "yarn build && yarn test:env:browser && yarn test:env:nodejs && yarn test:env:esm && yarn test:env:ts",
1111
"test:env:browser": "yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
1212
"test:env:nodejs": "node tests/env/node/index.js",
1313
"test:env:esm": "yarn --cwd tests/env/esm && yarn --cwd tests/env/esm start",
1414
"test:env:ts": "yarn --cwd tests/env/typescript-node && yarn --cwd tests/env/typescript-node start",
15-
"test:playgrounds": "yarn build:playground:vue && yarn build:playground:react && yarn build:playground:javascript && yarn build:playground:html",
15+
"test:playgrounds": "yarn build:playground:vue && yarn build:playground:react && yarn build:playground:javascript && yarn build:playground:html && yarn build:playground:angular",
1616
"build:playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue build",
1717
"build:playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react build",
1818
"build:playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript build",
1919
"build:playground:html": "yarn --cwd ./playgrounds/html && yarn --cwd ./playgrounds/html build",
20+
"build:playground:angular": "yarn --cwd ./playgrounds/angular && yarn --cwd ./playgrounds/angular build",
2021
"playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue serve",
2122
"playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react start",
2223
"playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript start",
2324
"playground:html": "yarn --cwd ./playgrounds/html && yarn --cwd ./playgrounds/html start",
25+
"playground:angular": "yarn --cwd ./playgrounds/angular && yarn --cwd ./playgrounds/angular start",
26+
"test:e2e": "yarn e2e:angular",
27+
"e2e:angular": "yarn --cwd ./playgrounds/angular && yarn --cwd ./playgrounds/angular e2e",
2428
"postbuild": "yarn typingsheader",
2529
"typingsheader": "node scripts/build.js",
2630
"build": "yarn cleanup && rollup -c rollup.config.js && rollup --environment NODE_ENV:production -c rollup.config.js ",

0 commit comments

Comments
 (0)