@@ -11,46 +11,47 @@ jobs:
11
11
node-version : [10.x, 12.x, 14.x]
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
15
-
16
- - name : Use node version ${{ matrix.node-version }}
17
- uses : actions/setup-node@v1
18
- with :
19
- node-version : ${{ matrix.node-version }}
20
-
21
- - name : Setup Testing Infra
22
- run : |
23
- cd test
24
- npm install
25
-
26
- - name : " CommonJS Test"
27
- run : |
28
- cd test/cjs
29
- npm run test
30
-
31
- - name : " ES Modules Test"
32
- run : |
33
- cd test/esm-node-native
34
- npm run test
35
- if : ${{ matrix.node-version == "14.x" }}
36
-
37
- - name : " Validate ES Modules == CommonJS"
38
- run : |
39
- cd test/validateModuleExportsMatchCommonJS
40
- npm run test
41
- if : ${{ matrix.node-version == "14.x" }}
42
-
43
- - name : " Rollup Tree-shaking Test"
44
- run : |
45
- cd test/rollup-modules
46
- npm run test
47
-
48
- - name : " Webpack Tree-shaking Test"
49
- run : |
50
- cd test/webpack-modules
51
- npm run test
52
-
53
- - name : " Snowpack Tree-shaking Test"
54
- run : |
55
- cd test/snowpack-modules
56
- npm run test
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Use node version ${{ matrix.node-version }}
17
+ uses : actions/setup-node@v1
18
+ with :
19
+ node-version : ${{ matrix.node-version }}
20
+
21
+ - name : Setup Testing Infra
22
+ run : |
23
+ cd test
24
+ npm install
25
+
26
+ - name : " CommonJS Test"
27
+ run : |
28
+ cd test/cjs
29
+ npm run test
30
+
31
+ - name : " ES Modules Test"
32
+ run : |
33
+ cd test/esm-node-native
34
+ npm run test
35
+ if : ${{ matrix.node-version == '14.x' }}
36
+
37
+ - name : " Validate ES Modules == CommonJS"
38
+ run : |
39
+ cd test/validateModuleExportsMatchCommonJS
40
+ npm run test
41
+ if : ${{ matrix.node-version == '14.x' }}
42
+
43
+ - name : " Rollup Tree-shaking Test"
44
+ run : |
45
+ cd test/rollup-modules
46
+ npm run test
47
+
48
+ - name : " Webpack Tree-shaking Test"
49
+ run : |
50
+ cd test/webpack-modules
51
+ npm run test
52
+
53
+ - name : " Snowpack Tree-shaking Test"
54
+ run : |
55
+ cd test/snowpack-modules
56
+ npm run test
57
+ if : ${{ matrix.node-version == '14.x' }}
0 commit comments