File tree 2 files changed +6
-12
lines changed
2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
node :
17
- - 16
18
17
- 18
19
18
- 20
20
19
- 22
24
23
- macos-latest
25
24
fail-fast : false
26
25
runs-on : ${{ matrix.os }}
27
- env :
28
- YARN_IGNORE_NODE : 1
29
26
steps :
30
27
- uses : actions/checkout@v4
31
28
@@ -38,17 +35,14 @@ jobs:
38
35
- name : Install Dependencies
39
36
run : yarn --immutable
40
37
41
- - name : Build and Typecov
42
- run : yarn run-s build typecov
38
+ - name : Build, Lint and Test
39
+ run : |
40
+ yarn build
41
+ yarn run-p lint test typecov
43
42
env :
44
43
PARSER_NO_WATCH : true
45
44
46
- - name : Lint and Test
47
- if : ${{ matrix.node != 16}}
48
- run : yarn run-s lint test
49
-
50
45
- name : Codecov
51
- if : ${{ matrix.node != 16}}
52
46
uses : codecov/codecov-action@v5
53
47
with :
54
48
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ describe('e2e cases', async () => {
26
26
} )
27
27
}
28
28
29
- it ( ' should exec eslint successfully' , async ( ) => {
29
+ it ( ` should exec eslint successfully > ${ dirName } ` , async ( ) => {
30
30
const eslintConfig = tryFile ( 'eslint.config.js' , false , absoluteDir )
31
31
expect (
32
32
await exec (
@@ -50,7 +50,7 @@ describe('e2e cases', async () => {
50
50
} ,
51
51
} ,
52
52
) ,
53
- ) . toMatchSnapshot ( dirName )
53
+ ) . toMatchSnapshot ( )
54
54
} )
55
55
}
56
56
} )
You can’t perform that action at this time.
0 commit comments