@@ -26,15 +26,35 @@ jobs:
26
26
- name : Install Dependencies
27
27
run : npm ci
28
28
29
- - name : Lint Prettier
30
- run : npm run prettier:check
31
-
32
29
- name : Lint ESLint
33
30
run : npm run lint
34
31
35
32
- name : Lint Flow
36
33
run : npm run check
37
34
35
+ - name : Lint Prettier
36
+ run : npm run prettier:check
37
+
38
+ - name : Spellcheck
39
+ run : npm run check:spelling
40
+
41
+ checkForCommonlyIgnoredFiles :
42
+ name : Check for commonly ignored files
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - name : Checkout repo
46
+ uses : actions/checkout@v2
47
+
48
+ - name : Check if commit contains files that should be ignored
49
+ run : |
50
+ git clone --depth 1 https://github.com/github/gitignore.git &&
51
+ cat gitignore/Node.gitignore $(find gitignore/Global -name "*.gitignore" | grep -v ModelSim) > all.gitignore &&
52
+ if [[ "$(git ls-files -iX all.gitignore)" != "" ]]; then
53
+ echo "::error::Please remove these files:"
54
+ git ls-files -iX all.gitignore
55
+ exit 1
56
+ fi
57
+
38
58
integrationTests :
39
59
name : Run integration tests
40
60
runs-on : ubuntu-latest
@@ -119,20 +139,3 @@ jobs:
119
139
120
140
- name : Run Tests
121
141
run : npm run testonly
122
-
123
- checkForCommonlyIgnoredFiles :
124
- name : Check for commonly ignored files
125
- runs-on : ubuntu-latest
126
- steps :
127
- - name : Checkout repo
128
- uses : actions/checkout@v2
129
-
130
- - name : Check if commit contains files that should be ignored
131
- run : |
132
- git clone --depth 1 https://github.com/github/gitignore.git &&
133
- cat gitignore/Node.gitignore $(find gitignore/Global -name "*.gitignore" | grep -v ModelSim) > all.gitignore &&
134
- if [[ "$(git ls-files -iX all.gitignore)" != "" ]]; then
135
- echo "::error::Please remove these files:"
136
- git ls-files -iX all.gitignore
137
- exit 1
138
- fi
0 commit comments