Skip to content

Commit

Permalink
Run lint/prettier on push to any branch, not just main
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-thompson committed Nov 4, 2024
1 parent 7c4e224 commit b6ced8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: CI

on:
pull_request:
types: [opened]
push:
branches:
- main
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

jobs:
checks:
Expand Down
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function validate(
const format = getFileFormat(filepath, options)
if (!format) {
console.log(
`This is not a valid file type. Files must be in a required CMS template format (.json or .csv)`
"This is not a valid file type. Files must be in a required CMS template format (.json or .csv)"
)
return
}
Expand Down

0 comments on commit b6ced8d

Please sign in to comment.