-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e2ae11
commit bf969b3
Showing
2 changed files
with
2 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
name: Lint Posts | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' # Runs on pushes to all branches | ||
pull_request: | ||
branches: | ||
- 'gh-pages' # Runs when a PR targets the gh-pages branch | ||
|
@@ -19,11 +16,5 @@ jobs: | |
with: | ||
node-version: 20.x | ||
cache: npm | ||
- name: Run install | ||
uses: borales/[email protected] | ||
with: | ||
cmd: install | ||
- name: Run lint | ||
uses: borales/[email protected] | ||
with: | ||
cmd: lint | ||
- run: npm ci | ||
- run: npm run lint |