Skip to content

Commit 35257b0

Browse files
committed
CI: Normalize whitespace in workflow files
Always put an empty line between workflow steps. Get rid of stray trailing spaces at the ends of lines.
1 parent 7080c53 commit 35257b0

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

.github/workflows/deploy-pnpm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
5050
- name: Install dependencies
5151
run: pnpm install
52+
5253
- name: Build VuePress Site
5354
run: pnpm build
55+
5456
- name: Deploy to GitHub Pages
5557
uses: crazy-max/ghaction-github-pages@v3
5658
with:

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
4444
- name: Install dependencies
4545
run: pnpm install
46+
4647
- name: Build VuePress Site
4748
run: pnpm build
4849

49-
5050
# please check out the docs of the workflow for more details
5151
# @see https://github.com/crazy-max/ghaction-github-pages
5252
- name: Deploy to GitHub Pages

.github/workflows/lint.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workflow to lint Markdown provided
1+
# Workflow to lint Markdown provided
22

33
name: Lint
44

@@ -40,6 +40,5 @@ jobs:
4040
restore-keys: |
4141
${{ runner.os }}-pnpm-store-
4242
43-
- name: Run Linting
44-
run: pnpm lint
45-
43+
- name: Run Linting
44+
run: pnpm lint

.github/workflows/spell-checker.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# Workflow to test the spelling within the PR
1+
# Workflow to test the spelling within the PR
22

3-
name: Spell Checker
3+
name: Spell Checker
44

55
on:
66
pull_request:
77
# Not specifying a type, lets it run on an PR update
88

99
jobs:
1010
spellcheck:
11-
runs-on: ubuntu-latest
12-
name: Spellcheck
11+
runs-on: ubuntu-latest
12+
name: Spellcheck
1313
steps:
1414
- uses: actions/checkout@v3
15+
1516
- uses: tbroadley/spellchecker-cli-action@v1
1617
with:
17-
quiet: true # Dont output anything if the file contains no spelling mistakes
18+
quiet: true # Dont output anything if the file contains no spelling mistakes
1819
files: "docs/**/**/*.md !docs/.vuepress"
1920
language: "en-US"
2021
dictionaries: "./tools/spell-checker-dictionary.txt"

.github/workflows/test-deploy-pnpm.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17+
1718
- name: Setup Node.js
1819
uses: actions/setup-node@v3
1920
with:
2021
node-version: '16'
22+
2123
- name: Setup pnpm
2224
# You may pin to the exact commit or the version.
2325
# uses: pnpm/action-setup@10693b3829bf86eb2572aef5f3571dcf5ca9287d
@@ -28,7 +30,9 @@ jobs:
2830
- recursive: true
2931
args: [--frozen-lockfile, --strict-peer-dependencies]
3032
- args: [--global, prettier, gulp]
33+
3134
- name: Install Dependencies
3235
run: pnpm install
36+
3337
- name: Test Build
3438
run: pnpm build

.github/workflows/test-deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15+
1516
- name: Setup Node.js
1617
uses: actions/setup-node@v3
1718
with:
1819
node-version: '16'
20+
1921
- uses: pnpm/action-setup@v4
2022
with:
2123
version: 6.0.2
2224
run_install: |
2325
- recursive: true
2426
args: [--frozen-lockfile, --strict-peer-dependencies]
27+
2528
- name: Test Build
2629
run: pnpm build

0 commit comments

Comments
 (0)