Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indentation (also tweak newlines/whitespace) in CI workflow yaml files #284

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
19 changes: 11 additions & 8 deletions .github/workflows/test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- uses: pnpm/action-setup@v4
- 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

- name: Test Build
run: pnpm build
Loading