Update lint CI to trigger on push to main branch (#13)
Some checks failed
Lint and Build / Run lint and build checks (push) Failing after 1m36s
Some checks failed
Lint and Build / Run lint and build checks (push) Failing after 1m36s
Co-authored-by: AdityaSalunkhe21 <adityasalunkhe2204@gmail.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-authored-by: Shreerang Kale <shree@deepstacksoft.com> Reviewed-on: #13 Co-authored-by: Pranav <jadhavpranav89@gmail.com> Co-committed-by: Pranav <jadhavpranav89@gmail.com>
This commit is contained in:
parent
770f96603b
commit
490f4ec8a4
@ -3,17 +3,20 @@ name: Lint and Build
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
lint-and-build:
|
||||
name: Run lint and build checks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
@ -22,9 +25,9 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
|
||||
- name: Run ESLint
|
||||
run: yarn lint
|
||||
|
||||
|
||||
- name: Run build
|
||||
run: yarn build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user