summaryrefslogtreecommitdiff
path: root/.github/workflows/doc-checks.yml
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-27 14:57:22 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-28 17:00:37 -0500
commit7babe7f1856ed0a586d0e1715639de806b28bc48 (patch)
tree05de912ead2227176c847773c0a5e2a77d25d4ec /.github/workflows/doc-checks.yml
parente6d863c61090c5f236657f67d688fafa349a5e55 (diff)
refactor(workflows): align GitHub workflow conventions
Cosmetic pass at aligning the conventions used in ZMK's workflows with GitHub's examples. Based on examples found at: https://github.com/actions/starter-workflows PR #433
Diffstat (limited to '.github/workflows/doc-checks.yml')
-rw-r--r--.github/workflows/doc-checks.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/doc-checks.yml b/.github/workflows/doc-checks.yml
index df0e53f..11f74c0 100644
--- a/.github/workflows/doc-checks.yml
+++ b/.github/workflows/doc-checks.yml
@@ -1,4 +1,4 @@
-name: doc-checks
+name: Docs Checks
on:
push:
@@ -13,8 +13,6 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
- name: ESLint
-
steps:
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
@@ -26,12 +24,11 @@ jobs:
prettier:
runs-on: ubuntu-latest
name: Prettier
-
steps:
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
with:
working-directory: docs
- - name: Prettier Check
+ - name: Prettier check
run: npm run prettier:check
working-directory: docs