Skip to content

Commit

Permalink
CI: Normalize whitespace in workflow files
Browse files Browse the repository at this point in the history
Always put an empty line between workflow steps.

Get rid of stray trailing spaces at the ends of lines.
  • Loading branch information
DeeDeeG committed Sep 13, 2024
1 parent 7080c53 commit 35257b0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-pnpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build VuePress Site
run: pnpm build

- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build VuePress Site
run: pnpm build


# please check out the docs of the workflow for more details
# @see https://github.com/crazy-max/ghaction-github-pages
- name: Deploy to GitHub Pages
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow to lint Markdown provided
# Workflow to lint Markdown provided

name: Lint

Expand Down Expand Up @@ -40,6 +40,5 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Run Linting
run: pnpm lint

- name: Run Linting
run: pnpm lint
11 changes: 6 additions & 5 deletions .github/workflows/spell-checker.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# Workflow to test the spelling within the PR
# Workflow to test the spelling within the PR

name: Spell Checker
name: Spell Checker

on:
pull_request:
# Not specifying a type, lets it run on an PR update

jobs:
spellcheck:
runs-on: ubuntu-latest
name: Spellcheck
runs-on: ubuntu-latest
name: Spellcheck
steps:
- uses: actions/checkout@v3

- uses: tbroadley/spellchecker-cli-action@v1
with:
quiet: true # Dont output anything if the file contains no spelling mistakes
quiet: true # Dont output anything if the file contains no spelling mistakes
files: "docs/**/**/*.md !docs/.vuepress"
language: "en-US"
dictionaries: "./tools/spell-checker-dictionary.txt"
4 changes: 4 additions & 0 deletions .github/workflows/test-deploy-pnpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Setup pnpm
# You may pin to the exact commit or the version.
# uses: pnpm/action-setup@10693b3829bf86eb2572aef5f3571dcf5ca9287d
Expand All @@ -28,7 +30,9 @@ jobs:
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, prettier, gulp]
- name: Install Dependencies
run: pnpm install

- name: Test Build
run: pnpm build
3 changes: 3 additions & 0 deletions .github/workflows/test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- uses: pnpm/action-setup@v4
with:
version: 6.0.2
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Test Build
run: pnpm build

0 comments on commit 35257b0

Please sign in to comment.