Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 8e2571c

Browse files
committed
Sync up GitHub actions with 'graphql-js'
1 parent 0b317a0 commit 8e2571c

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,35 @@ jobs:
2626
- name: Install Dependencies
2727
run: npm ci
2828

29-
- name: Lint Prettier
30-
run: npm run prettier:check
31-
3229
- name: Lint ESLint
3330
run: npm run lint
3431

3532
- name: Lint Flow
3633
run: npm run check
3734

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+
3858
integrationTests:
3959
name: Run integration tests
4060
runs-on: ubuntu-latest
@@ -119,20 +139,3 @@ jobs:
119139

120140
- name: Run Tests
121141
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

Comments
 (0)