Skip to content

Commit

Permalink
added: workflow on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain-ul-din authored Jan 10, 2024
1 parent 1f33ec6 commit 5b1fe77
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: lint-format
on:
push:
branches:
- master
- production
push:
branches:
- main
pull_request:
branches:
- main

jobs:
check-bats-version:
Expand All @@ -12,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
- run: npm i
- run: npm run lint
- run: npm run format

0 comments on commit 5b1fe77

Please sign in to comment.